:root {
  --bg: #f7f2ea;
  --surface: #fffdf8;
  --text: #2f241f;
  --muted: #68564d;
  --border: #dbcab9;
  --accent: #8e5d3b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(142, 93, 59, 0.12), transparent 35%),
    var(--bg);
}

a {
  color: var(--accent);
}

.site-header,
.site-footer {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
}

.shell {
  width: min(100% - 2rem, 960px);
  margin: 0 auto;
}

.site-header .shell,
.site-footer .shell,
main.shell {
  padding: 1.5rem 0;
}

.site-title {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.site-tagline {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

nav a {
  text-decoration: none;
  font-weight: 600;
}

main {
  min-height: 60vh;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

.page-header {
  margin-bottom: 1.5rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
}

.card-list {
  display: grid;
  gap: 1rem;
}

.card-list.two-up {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

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

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.card img,
.post-gallery img,
.resource-grid img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.resource-grid,
.post-gallery {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.resource-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

.resource-card h3,
.resource-card p {
  margin-top: 0.75rem;
}

.post-gallery {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  padding: 0.85rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
