:root {
  --bg: #f2eee5;
  --surface: rgba(255, 255, 255, 0.88);
  --line: rgba(31, 33, 27, 0.1);
  --text: #1f211b;
  --muted: #66695f;
  --brand: #1d5d4f;
  --brand-soft: rgba(29, 93, 79, 0.1);
  --shadow: 0 18px 42px rgba(24, 28, 22, 0.08);
  --radius: 24px;
  --font-heading: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --font-body: "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 93, 79, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(190, 122, 47, 0.14), transparent 28%),
    linear-gradient(180deg, #f8f3ea 0%, #ece4d8 100%);
}

.public-shell {
  width: min(1320px, calc(100vw - 28px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.public-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  padding: 24px;
}

.public-card + .public-card,
.content-grid {
  margin-top: 18px;
}

.hero-card h1,
.error-card h1 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--brand);
  font-weight: 700;
}

.subtitle,
.muted,
.content-text {
  color: var(--muted);
}

.subtitle {
  margin: 0;
  font-size: 1.02rem;
}

.pill-row {
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.image-card {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #faf9f5;
}

.image-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 280px;
  gap: 18px;
}

.content-text {
  margin: 0;
  line-height: 1.7;
  white-space: pre-wrap;
}

.description-text {
  min-height: 120px;
}

.price-text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--brand);
}

@media (max-width: 1080px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .public-shell {
    width: min(100vw - 14px, 100%);
    padding: 16px 0 24px;
  }

  .public-card {
    padding: 18px;
    border-radius: 20px;
  }
}
