:root {
  --bg: #0f1115; --panel: #171a21; --ink: #e8eaf0; --muted: #9aa3b2;
  --accent: #ffb000; --line: #262b36; --max: 62rem; --radius: 14px;
  font-family: system-ui, -apple-system, "Segoe UI", Inter, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.site-header, main, .site-footer { max-width: var(--max); margin: 0 auto; padding: 1rem 1.25rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; padding-top: 1.5rem; }
.brand { color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .02em; font-size: 1.15rem; }
.site-header nav a { color: var(--muted); text-decoration: none; margin-left: 1.25rem; }
.site-header nav a:hover { color: var(--ink); }
.hero { padding: 3rem 0 2rem; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 .5rem; line-height: 1.05; }
.lede { color: var(--muted); font-size: 1.15rem; max-width: 40rem; margin: 0; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); padding-bottom: 3rem; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; display: flex; flex-direction: column; transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card img, .card-blank { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: linear-gradient(135deg, #1e2330, #0f1115); }
.card-body { padding: 1rem 1.1rem 1.2rem; }
.card h2 { margin: 0 0 .35rem; font-size: 1.2rem; }
.card p { margin: 0 0 .6rem; color: var(--muted); }
.card time { color: var(--accent); font-size: .85rem; }
.empty { color: var(--muted); }
.project-head { padding: 2rem 0 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.project-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5rem; line-height: 1.1; }
.meta { color: var(--muted); font-size: .9rem; margin-top: .75rem; }
.photos { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); margin: 0 0 2rem; }
.photos figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photos figcaption { padding: .5rem .8rem; color: var(--muted); font-size: .9rem; }
.sec { max-width: 44rem; margin: 0 0 2.25rem; }
.sec h2 { font-size: 1.35rem; margin: 0 0 .5rem; color: var(--accent); }
.sec p { margin: 0 0 1rem; font-size: 1.05rem; }
.site-footer { color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.5rem; }
