@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700;800&display=swap');
:root{--paper:#f6f1e6;--ink:#263d35;--line:#ddd9cb}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Fira Sans',sans-serif}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid var(--ink);outline-offset:8px}header,main{width:min(1000px,calc(100% - 64px));margin:auto}header{padding:36px 0}.wordmark{font-size:17px;font-weight:600;letter-spacing:-.4px}.home-links{margin:95px 0 120px}.home-links section{border-bottom:1px solid var(--line)}h2{margin:0;font-family:'Fira Sans',sans-serif;font-size:clamp(42px,6vw,64px);font-weight:700;letter-spacing:-2.5px;line-height:1.1}h2 a{display:flex;justify-content:space-between;align-items:center;padding:32px 0}h2 a span{font-family:'Fira Sans',sans-serif;font-size:28px;font-weight:400;color:#9b735f}h2 a:hover{color:#9b735f}.skip{position:fixed;top:-100px;background:var(--paper);padding:12px;z-index:10}.skip:focus{top:0}.boot{margin-top:25vh;text-align:center}#blazor-error-ui{display:none;position:fixed;bottom:0;padding:16px;width:100%;background:#e9cb7a}.article{max-width:760px;margin:40px auto 80px}.article h1{font-family:Georgia,serif;font-size:60px;font-weight:400}.article h2{font-size:36px}.article .intro,.prose{line-height:1.8}.text-link,.button{display:inline-block;margin:20px 0;text-decoration:underline}.project-art{padding:30px;background:#edc6b7;border-radius:10px}.symbol{font-size:80px}.art-caption{display:block}.prose img{max-width:100%}.prose pre{overflow:auto}.prose a{text-decoration:underline}@media(max-width:580px){header,main{width:calc(100% - 40px)}header{padding:28px 0}.home-links{margin-top:65px}h2 a{padding:28px 0}}

.home-links .projects-section{border-bottom:0;padding-top:38px}.projects-section>h2{margin-bottom:28px}.project-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.project-card{position:relative;display:flex;align-items:center;gap:22px;min-height:180px;padding:32px;background:var(--card-colour,#efdbd1);border:1px solid #263d3515;border-radius:24px;overflow:hidden;transition:filter .2s,transform .2s}.project-card:after{content:"";position:absolute;right:-60px;top:-70px;width:230px;height:230px;border:1px solid #263d3510;border-radius:50%;pointer-events:none}.project-card:hover{filter:brightness(.97);transform:translateY(-3px)}.card-icon{display:grid;place-items:center;width:80px;height:80px;flex-shrink:0;background:#f6f1e6b0;border-radius:20px}.card-icon svg{width:58px;height:58px}.card-content{position:relative;z-index:1}.card-content h3{font-family:'Fira Sans',sans-serif;font-size:28px;font-weight:600;letter-spacing:-.8px;line-height:1.15;margin:0 0 15px}.card-tag{display:inline-block;border:1px solid #263d3520;border-radius:100px;padding:5px 11px;font-size:11px}.card-arrow{align-self:flex-end;margin-left:auto;font-size:24px}.project-card:focus-visible{outline-offset:5px}@media(max-width:700px){.project-cards{grid-template-columns:1fr}}@media(max-width:400px){.project-card{padding:24px;gap:16px}.card-icon{width:64px;height:64px}.card-content h3{font-size:26px}}@media(prefers-reduced-motion:reduce){.project-card{transition:none}.project-card:hover{transform:none}}

.wordmark::after{content:"";display:inline-block;width:7px;height:7px;margin-left:5px;background:#c1846b;border-radius:50%;vertical-align:baseline}.home-links>section:first-child h2 a span{display:grid;place-items:center;width:42px;height:42px;background:#ead18b;color:var(--ink);border-radius:13px;transform:rotate(-9deg);font-size:25px}.card-icon{transform:rotate(-5deg)}

.home-links .projects-section{padding-top:0}.card-tag-featured{background:#ead18b;border-color:#a88835;color:#263d35;font-weight:600}

.project-card{flex-wrap:wrap;align-content:center}.card-actions{display:flex;gap:10px;flex-basis:100%;margin-top:8px;position:relative;z-index:1}.card-button{display:inline-block;font-size:13px;padding:10px 15px;border:1px solid #263d3540;border-radius:100px;background:#f6f1e680}.card-button:hover{background:var(--ink);color:var(--paper)}.article h1{font-family:'Fira Sans',sans-serif;font-weight:700;letter-spacing:-2px;font-size:clamp(38px,6vw,60px)}.prose{margin:32px 0}.prose h2{font-size:28px;letter-spacing:-.7px}.prose h3{font-size:22px}.project-card:hover{transform:none;filter:none}

.card-button{background:transparent}.card-button-primary{background:var(--ink);border-color:var(--ink);color:var(--paper)}.card-button-primary:hover{background:#395247;border-color:#395247}

.card-icon img{width:100%;height:100%;object-fit:contain;border-radius:inherit}.card-tags{display:flex;flex-wrap:wrap;gap:6px}
.card-description{margin:0 0 14px;font-size:15px;line-height:1.5}

/* A quieter, roomier project layout. */
header,main{width:min(820px,calc(100% - 64px))}
.home-links{margin:64px 0 96px}
.home-intro{margin:0 0 48px;font-size:clamp(20px,3vw,26px);line-height:1.5;letter-spacing:-.4px}
.projects-section>h2{font-size:clamp(36px,5vw,48px);letter-spacing:-1.5px;margin-bottom:32px}
.project-cards{gap:28px}
.project-card{padding:32px;gap:24px;min-height:220px}
.card-content{flex:1;min-width:0}
.card-content h3{font-size:32px;margin-bottom:12px;letter-spacing:-1px}
.card-description{font-size:16px;line-height:1.6;margin-bottom:16px}
.card-actions{margin-top:12px;gap:12px}
.card-button{font-size:14px;padding:12px 20px}
.project-card-featured{grid-column:1/-1;min-height:260px;padding:40px;gap:32px}
.project-card-featured .card-icon{width:104px;height:104px;border-radius:26px}
.project-card-featured .card-content h3{font-size:clamp(36px,5vw,44px)}
.project-card-featured .card-actions{padding-left:136px;margin-top:0}
@media(max-width:580px){
 header,main{width:calc(100% - 40px)}
 .home-links{margin:40px 0 64px}
 .home-intro{margin-bottom:36px}
 .project-card,.project-card-featured{padding:28px;gap:20px}
 .project-card-featured .card-icon{width:80px;height:80px;border-radius:20px}
 .project-card-featured .card-actions{padding-left:0;margin-top:12px}
}

:root{color-scheme:light}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:20px}
.theme-toggle{display:grid;place-items:center;width:42px;height:42px;padding:10px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
.theme-toggle:hover{background:#263d350c}
.theme-toggle:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.theme-toggle svg{width:21px;height:21px;grid-area:1/1}
.theme-sun{display:none}
[data-theme="dark"]{color-scheme:dark;--paper:#17251f;--ink:#e9eee8;--line:#3b4b42}
[data-theme="dark"] .theme-moon{display:none}
[data-theme="dark"] .theme-sun{display:block}
[data-theme="dark"] .theme-toggle:hover{background:#ffffff0c}
[data-theme="dark"] .project-card{background:color-mix(in srgb,var(--card-colour,#efdbd1) 22%,#17251f);border-color:#ffffff18}
[data-theme="dark"] .card-icon{background:#f6f1e6d9}
[data-theme="dark"] .card-tag,[data-theme="dark"] .card-button{border-color:#e9eee840}
[data-theme="dark"] .card-tag-featured{background:#ead18b;color:#263d35;border-color:#ead18b}
[data-theme="dark"] .card-button-primary{background:#e9eee8;color:#17251f;border-color:#e9eee8}
[data-theme="dark"] .card-button:hover{background:#d1dfd4;color:#17251f}
[data-theme="dark"] .project-card:after{border-color:#ffffff10}
