:root {
  --ink: #1f1f1f;
  --muted: #666;
  --paper: #faf7f1;
  --card: #ffffff;
  --accent: #8a5a35;
  --accent-dark: #5c3b22;
  --line: #e4d8ca;
  --green: #2f6f4e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: inherit; }

.site-header {
  padding: 22px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(250,247,241,0.92);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  text-decoration: none;
  display: inline-block;
  line-height: 0;
}

.logo img {
  width: 320px;
  max-width: 100%;
  height: auto;
  display: block;
}

.nav a {
  margin-left: 22px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
}

.hero {
  padding: 80px 6vw 70px;
  max-width: 1100px;
}

.kicker {
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: bold;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.95;
  margin: 14px 0 24px;
  max-width: 980px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

p {
  font-size: 1.1rem;
  max-width: 760px;
}

.button {
  display: inline-block;
  margin-top: 20px;
  padding: 13px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.button:hover { background: var(--accent-dark); }

.section {
  padding: 50px 6vw;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(40, 25, 10, 0.06);
}

.card h3 { margin-top: 0; }

.listing-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0;
}

.listing-tools input,
.listing-tools select {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  min-width: 220px;
}

.listing {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-bottom: 20px;
  overflow: hidden;
}

.listing summary {
  cursor: pointer;
  list-style: none;
  padding: 24px;
}

.listing summary::-webkit-details-marker { display: none; }

.listing-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
}

.uid {
  font-family: Arial, sans-serif;
  color: var(--accent);
  font-weight: bold;
  font-size: 0.9rem;
}

.status {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f0e2d2;
}

.status.donated {
  background: #dcebdd;
  color: var(--green);
}

.listing-body {
  padding: 0 24px 24px;
  border-top: 1px solid var(--line);
}

.meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

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

.image-note {
  font-family: Arial, sans-serif;
  background: #f7efe6;
  border: 1px dashed var(--line);
  border-radius: 14px;
  padding: 14px;
  color: var(--muted);
}

.listing-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 16px 0 20px;
}

.listing-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #f7efe6;
}

.inquire {
  display: inline-block;
  margin-top: 8px;
  padding: 11px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 0.95rem;
}

.inquire:hover { background: var(--accent-dark); }

.inquire.disabled {
  background: #b8a890;
  cursor: not-allowed;
  pointer-events: none;
}

.site-footer {
  padding: 30px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .logo img { width: 220px; }
  .nav a { margin-left: 0; margin-right: 16px; }
  .grid, .meta { grid-template-columns: 1fr; }
  .listing-top { flex-direction: column; gap: 8px; }
}
