:root {
  --bg: #f7f2ea;
  --panel: #fffdf9;
  --text: #1f1a17;
  --muted: #6b625a;
  --accent: #b07d4a;
  --accent-soft: #efe0c7;
  --border: rgba(31, 26, 23, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #fdf8f1 0%, var(--bg) 100%);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.page-header {
  padding: 2rem 0 1.5rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--accent-soft);
  border-color: var(--border);
}

.hero-panel,
.content-panel,
.card,
.media-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(31, 26, 23, 0.05);
}

.hero-panel {
  padding: 2rem;
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.hero-copy p {
  color: var(--muted);
}

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

.card {
  text-decoration: none;
  color: inherit;
  padding: 1.2rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(31, 26, 23, 0.08);
}

.card h3 {
  margin-bottom: 0.35rem;
}

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

.content-panel {
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.2rem;
}

.content-panel p {
  color: var(--muted);
}

.grid-two {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.media-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.media-card {
  padding: 1.2rem;
}

.placeholder-art {
  min-height: 190px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-soft), #d8c8ac);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #5a3d21;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input,
textarea,
button {
  width: 100%;
  font: inherit;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

button {
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
}

.site-footer {
  padding: 2rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .site-shell {
    padding: 1rem 1rem 2rem;
  }

  .hero-panel {
    padding: 1.25rem;
  }

  .site-nav {
    gap: 0.45rem;
  }
}
