﻿:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: #272823; background: #eeede9; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: -100px; left: 24px; z-index: 10; background: #fff; padding: 12px; }
.skip:focus { top: 12px; }
.site-header { padding: 28px 3vw; }
.site-header nav { display: flex; gap: 28px; font-size: 14px; }
.site-header a { padding: 8px 0; color: #6c6d65; }
.site-header [aria-current] { color: #272823; border-bottom: 1px solid; }
main { padding: 20px 3vw 5vw; }
.projects-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2.5vw; }
.project-card { min-width: 0; }
.project-card > a { display: block; }
.project-art { position: relative; height: clamp(380px, 67vh, 850px); overflow: hidden; }
.shadow { background: #172d38; }
.shadow img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 59% center; transition: transform 800ms cubic-bezier(.2,.7,.3,1); }
.chess { display: grid; place-items: center; background: #d8d7cf; padding: 12%; }
.chess-board { display: grid; grid-template-columns: repeat(8,1fr); width: 100%; aspect-ratio: 1; box-shadow: 0 12px 24px #27282314; transform: rotate(-8deg); transition: transform 800ms cubic-bezier(.2,.7,.3,1); }
.square { position: relative; aspect-ratio: 1; }
.square.light { background: #f1f0e9; }
.square.dark { background: #92978a; }
.cg-wrap piece { position: absolute; inset: 0; background-size: contain; background-repeat: no-repeat; }
.project-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 0; border-bottom: 1px solid #cacbc3; }
h2 { font-size: clamp(26px, 3vw, 52px); font-weight: 400; letter-spacing: -.045em; margin: 0; }
.open-arrow { font-size: 26px; border: 1px solid #bbbdb4; border-radius: 50%; display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; transition: background 180ms, color 180ms; }
@media (hover:hover) { .project-card a:hover .shadow img { transform: scale(1.035); } .project-card a:hover .chess-board { transform: rotate(-4deg); } .project-card a:hover .open-arrow { background: #272823; color: #eeede9; } }
.page-heading { margin: 10px 0 36px; }
h1 { font-size: clamp(40px, 6vw, 88px); letter-spacing: -.05em; font-weight: 400; margin: 0; }
.filters { display: flex; gap: 10px; margin-bottom: 26px; }
.filters button { cursor: pointer; border: 1px solid #b9bbb1; border-radius: 24px; padding: 10px 22px; color: inherit; background: transparent; min-height: 44px; }
.filters [aria-pressed=true] { color: #eeede9; background: #272823; border-color: #272823; }
[hidden] { display: none !important; }
.primary-link { display: inline-block; text-decoration: underline; padding: 12px 0; }
.detail-art { max-width: 1000px; }
.article-layout { margin-top: 30px; }
.tag { padding-right: 16px; }
.prose { max-width: 65ch; line-height: 1.6; }
@media (min-width: 1800px) { main, .site-header { max-width: 2000px; margin-inline: auto; } }
@media (max-width: 700px) {
  .site-header { padding: 20px 22px; }
  main { padding: 12px 22px 38px; }
  .projects-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-art { height: auto; aspect-ratio: 1 / 1.05; }
  .project-caption { padding: 18px 0; }
  h2 { font-size: 34px; }
  .open-arrow { width: 40px; height: 40px; font-size: 23px; }
}
@media (max-width: 350px) { h2 { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
