:root {
  --paper: #efe7d7;
  --ink: #1b1915;
  --muted: #71695d;
  --line: rgba(27, 25, 21, 0.22);
  --panel: rgba(255, 255, 255, 0.2);
  --accent: #8b3428;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: radial-gradient(rgba(27,25,21,.45) .45px, transparent .45px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.edition,
.eyebrow,
.collection,
.product-meta,
.site-footer,
#catalog-status {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
}

.edition { color: var(--muted); text-align: right; }

.hero {
  padding: clamp(72px, 11vw, 150px) 0 clamp(70px, 10vw, 130px);
  max-width: 1000px;
}

.eyebrow { color: var(--accent); margin: 0 0 24px; }

h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(3.3rem, 9vw, 8.4rem);
  line-height: .84;
  letter-spacing: -.065em;
  font-weight: 500;
}

.intro {
  max-width: 650px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.5rem);
}

.catalog-section {
  border-top: 1px solid var(--line);
  padding: 28px 0 100px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 38px;
}

.section-head h2 { margin: 0; font-size: 1rem; font-weight: 500; }
#catalog-status { margin: 0; color: var(--muted); }

.catalog-grid { display: grid; gap: 72px; }

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .72fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: center;
}

.art-frame {
  margin: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: rgba(249, 244, 233, .62);
  border: 1px solid var(--line);
  padding: clamp(20px, 5vw, 64px);
}

.product-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.collection { color: var(--accent); margin: 0 0 14px; }
.product-title { margin: 0; font-size: clamp(2.2rem, 5vw, 5rem); line-height: .95; letter-spacing: -.04em; font-weight: 500; }
.description { color: var(--muted); font-size: 1.05rem; margin: 28px 0 34px; }

.product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
}

.status-pill {
  border: 1px solid var(--line);
  padding: 7px 9px 6px;
  color: var(--ink);
}

.artifact-code { text-transform: none; letter-spacing: .04em; }

.catalog-error {
  padding: 32px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: Arial, Helvetica, sans-serif;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
}

.site-footer p { margin: 0; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; padding: 22px 0; }
  .edition { max-width: 150px; }
  .hero { padding-top: 70px; }
  .product-card { grid-template-columns: 1fr; }
  .product-copy { max-width: 620px; }
  .section-head, .site-footer { align-items: flex-start; flex-direction: column; }
}
