:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --text: #2b2622;
  --muted: #7a7167;
  --accent: #d97917;
  --accent-soft: #f6e3ce;
  --border: #e7ded2;
  --radius: 14px;
  --wrap: 960px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 20px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-header nav a {
  color: var(--muted);
  font-size: 15px;
}

.site-header nav a[aria-current="page"],
.site-header nav a:hover { color: var(--text); }

main {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

h1 {
  font-size: 34px;
  line-height: 1.2;
  margin: 8px 0 14px;
}

h2 { font-size: 20px; margin: 0 0 10px; }

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 28px;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 24px 0 40px;
  border-bottom: 1px solid var(--border);
}

.hero-art { width: 100%; height: auto; max-width: 280px; justify-self: center; }

.button {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.button:hover { background: #bf6a10; text-decoration: none; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 40px 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.card p { margin: 0; color: var(--muted); }

.notes { padding: 8px 0 0; }

.notes ul { list-style: none; padding: 0; margin: 12px 0 0; }

.notes li {
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.notes li span {
  display: inline-block;
  min-width: 96px;
  color: var(--text);
  font-weight: 600;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 8px;
}

.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}

.cat-card img {
  width: 120px;
  height: 120px;
  display: block;
  margin: 0 auto 12px;
}

.cat-card h2 { margin: 0 0 4px; font-size: 18px; }

.cat-card p { margin: 0; color: var(--muted); font-size: 15px; }

.cat-card p:last-child { margin-top: 10px; }

.text-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
}

.text-block p:first-of-type { margin-top: 0; }

.text-block ul, .text-block ol { margin: 0; padding-left: 20px; }

.text-block li { margin-bottom: 8px; }

.not-found { text-align: center; padding-top: 40px; }

.not-found img { margin: 0 auto 8px; }

.muted { color: var(--muted); }

.site-footer {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px 20px 40px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.site-footer p { margin: 4px 0; }

@media (max-width: 760px) {
  h1 { font-size: 27px; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { max-width: 200px; }
  .cards, .gallery { grid-template-columns: 1fr; }
  .site-header { padding-top: 18px; }
}