:root {
  --ink: #2b2b2b;
  --ink-soft: #5c5c5c;
  --brand: #393939;
  --accent: #f89d35;
  --accent-ink: #9a5100;
  --line: #e3e0db;
  --bg: #f7f5f2;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font: 16px/1.55 var(--font); color: var(--ink); background: var(--bg); }
a { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.h-top { display: flex; align-items: center; height: 68px; padding: 0 24px; background: var(--brand); }
.h-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.h-brand img { display: block; height: 40px; width: auto; }

.h-main { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 48px 24px 64px; }
.h-intro { max-width: 640px; margin-bottom: 32px; }
.h-intro h1 { margin: 0 0 8px; font-size: clamp(32px, 6vw, 48px); line-height: 1.1; letter-spacing: -.01em; }
.h-intro p { margin: 0; font-size: 18px; color: var(--ink-soft); }

.h-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.h-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.06);
  border: 1px solid transparent; transition: transform .15s, border-color .15s;
}
.h-card:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--ink); }
.h-card-art { display: grid; place-items: center; height: 120px; background: linear-gradient(135deg, #43403b, var(--brand)); color: var(--accent); }
.h-card-art svg { width: 200px; height: auto; }
.h-card-art svg circle { fill: currentColor; }
.h-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.h-card-title { font-size: 20px; font-weight: 700; line-height: 1.25; }
.h-card-text { color: var(--ink-soft); font-size: 15px; }
.h-card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 10px; font-size: 14px; color: var(--ink-soft); }
.h-card-cta { color: var(--accent-ink); font-weight: 700; white-space: nowrap; }
.h-empty { color: var(--ink-soft); }

.h-foot { display: flex; gap: 20px; flex-wrap: wrap; padding: 18px 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.h-foot a { color: var(--ink-soft); }

@media (max-width: 600px) {
  .h-top { padding: 0 16px; height: 60px; }
  .h-brand img { height: 34px; }
  .h-main { padding: 32px 16px 48px; }
  .h-cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .h-card { transition: none; } }
