:root {
  --bg: #0f0f12;
  --surface: #1a1a20;
  --text: #f2f0ea;
  --muted: #a3a09a;
  --accent: #e8b44a;
  --radius: 10px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
header, main, footer { max-width: 960px; margin: 0 auto; padding: 24px 16px; }
header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.brand { font-size: 1.4rem; font-weight: 700; text-decoration: none; }
.tag { color: var(--accent); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.15; margin: 0 0 12px; }
.lede { color: var(--muted); max-width: 60ch; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 24px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.card .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h2 { font-size: 1.15rem; margin: 0; }
.meta { color: var(--muted); font-size: .85rem; }
.state { background: var(--surface); border-radius: var(--radius); padding: 24px; color: var(--muted); margin-top: 24px; }
.state.error { color: #ff9a8a; }
article img.cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
article p { max-width: 68ch; }
footer { color: var(--muted); font-size: .85rem; }