/* Artistic Bazaar — one stylesheet, no external anything.
   System fonts and CSS-drawn colour so the whole site is three small files. */

:root {
  --ink:      #21201c;
  --ink-soft: #5c584f;
  --paper:    #faf7f0;
  --card:     #fffdf8;
  --line:     #e4ddcd;
  --clay:     #b4532a;
  --indigo:   #2f4858;
  --sand:     #d9c9a8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 ui-serif, Georgia, "Times New Roman", serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand, .btn, .meta, .eyebrow, dt {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---- nav ---- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  max-width: 1040px; margin: 0 auto; padding: 1.5rem 1.25rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none;
}
.mark {
  width: 22px; height: 22px; border-radius: 5px;
  background: linear-gradient(135deg, var(--clay), var(--indigo));
}
.nav nav { display: flex; gap: 1.4rem; }
.nav nav a {
  color: var(--ink-soft); text-decoration: none; font-size: .95rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
}
.nav nav a:hover { color: var(--clay); }

/* ---- layout ---- */
main { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 3.5rem 0; border-top: 1px solid var(--line); }
section:first-child { border-top: 0; padding-top: 2rem; }

h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.08;
  letter-spacing: -.03em; margin: .4rem 0 1.2rem;
}
h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem); letter-spacing: -.02em;
  margin: 0 0 1.2rem;
}
h3 { font-size: 1.08rem; margin: 0 0 .5rem; letter-spacing: -.01em; }

.eyebrow {
  margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay); font-weight: 600;
}
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; }

/* ---- cta ---- */
.cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn {
  display: inline-block; padding: .7rem 1.4rem; border-radius: 8px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  font-size: .95rem; font-weight: 600; border: 1px solid var(--ink);
  transition: background .15s ease, color .15s ease;
}
.btn:hover { background: var(--clay); border-color: var(--clay); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--card); color: var(--clay); border-color: var(--clay); }

/* ---- collections ---- */
.grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.4rem; position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
}
.c1::before { background: var(--clay); }
.c2::before { background: var(--indigo); }
.c3::before { background: var(--sand); }
.c4::before { background: #7a6a52; }
.card p { color: var(--ink-soft); font-size: .96rem; margin: 0 0 1rem; }
.meta {
  font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); opacity: .8;
}

/* ---- stats ---- */
.stats {
  display: grid; gap: 1.5rem 2rem; margin: 2.2rem 0 0;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.stats div { margin: 0; }
.stats dt {
  font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; color: var(--clay);
}
.stats dd {
  margin: .15rem 0 0; font-size: .92rem; color: var(--ink-soft);
}

/* ---- visit ---- */
.visit p { max-width: 58ch; color: var(--ink-soft); }
.addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .86rem; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 8px;
  padding: .8rem 1rem; display: inline-block; margin-top: 1rem;
}

/* ---- footer ---- */
footer {
  max-width: 1040px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem;
  border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .9rem;
}
footer p { margin: .2rem 0; }
footer a { color: var(--clay); }
.fine { opacity: .75; font-size: .84rem; }

/* ---- 404 ---- */
.notfound { text-align: center; padding: 6rem 1.25rem; }
.notfound .code {
  font-size: 4rem; font-weight: 700; color: var(--clay);
  letter-spacing: -.04em; line-height: 1;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

/* ---- added for the multi-page build ---------------------------------- */

/* Breadcrumb back-link. Sits above the h1 in place of .eyebrow on subpages. */
.back {
  display: inline-block; margin: 0 0 .3rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .82rem; letter-spacing: .04em;
  color: var(--ink-soft); text-decoration: none;
}
.back:hover { color: var(--clay); }
.back::before { content: "\2190\00a0"; }

/* Subpage h1: the homepage h1 is display-sized and would shout here. */
.page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .8rem; }

/* ---- pieces: a listing grid, one card per item ---- */
.pieces {
  display: grid; gap: 1rem; margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.piece {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.2rem 1.3rem; display: flex; flex-direction: column;
}
/* The swatch stands in for a photograph. CSS-drawn on purpose: this site is
   still text-only, and a real photo set is the next thing to add. */
.swatch {
  height: 92px; border-radius: 8px; margin: -.2rem 0 .9rem;
  border: 1px solid var(--line);
}
.s-textile { background: repeating-linear-gradient(45deg, #b4532a, #b4532a 8px, #d9c9a8 8px, #d9c9a8 16px); }
.s-ceramic { background: radial-gradient(circle at 35% 30%, #7d9aa8, #2f4858 70%); }
.s-print   { background: linear-gradient(160deg, #faf7f0 0 45%, #21201c 45% 55%, #d9c9a8 55%); }
.s-metal   { background: linear-gradient(105deg, #c9c2b4, #f2eee4 40%, #8d8271 75%, #d9c9a8); }
.piece h3 { margin-bottom: .35rem; }
.piece .by { font-size: .88rem; color: var(--ink-soft); margin: 0 0 .8rem; }
.piece .price {
  margin-top: auto; font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 700; font-size: 1.05rem; color: var(--ink);
}
.piece .price span { font-weight: 400; font-size: .82rem; color: var(--ink-soft); }

/* ---- makers: a plain roster, readable at any width ---- */
.roster { margin-top: 2rem; border-top: 1px solid var(--line); }
.maker {
  display: grid; gap: .2rem 1.5rem; padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 700px) {
  .maker { grid-template-columns: 14rem minmax(0, 1fr) 8rem; align-items: baseline; }
}
.maker h3 { margin: 0; }
.maker .craft { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.maker .where {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft); opacity: .8;
}

/* ---- visit: hours ---- */
.hours { margin: 1.5rem 0 0; border-top: 1px solid var(--line); max-width: 34rem; }
.hours div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
}
.hours dt { font-weight: 600; font-size: .95rem; }
.hours dd { margin: 0; color: var(--ink-soft); font-size: .95rem; }
