:root {
  --bg: #0c1812;
  --bg-2: #14221a;
  --panel: #1a2c22;
  --ink: #f6f1e4;
  --muted: #c9d4c6;
  --gold: #f2c64b;
  --gold-soft: #ffe48a;
  --green: #56cc7a;
  --green-deep: #22763e;
  --line: rgba(242, 198, 75, 0.35);
  --danger: #ffb4b4;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --sans: "DejaVu Sans", "Liberation Sans", "Segoe UI", sans-serif;
  --serif: "Source Serif Pro", "Liberation Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -10%, #1c3328 0%, var(--bg) 55%);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-soft); }
button, input, select, textarea { font: inherit; }

.draft-banner {
  background: var(--gold);
  color: #1a1404;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 24, 18, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner, .wrap {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.brand strong { color: var(--gold); letter-spacing: 0.04em; font-size: 0.95rem; }
.brand span { font-size: 0.75rem; color: var(--muted); }
nav { display: flex; gap: 0.9rem; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.9rem; }
nav a:hover { color: var(--gold); }

.hero {
  padding: 2.4rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: center;
}
.kicker {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.6rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 0.7rem; color: var(--gold-soft); }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 40rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  text-decoration: none;
  font-weight: 800;
  border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: #1a1404; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--gold); }
.btn-outline:hover { background: rgba(242, 198, 75, 0.12); }
.hero-photo {
  border: 2px solid var(--gold);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; object-position: center 20%; }

.note {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  color: var(--muted);
  margin: 0.4rem 0 1.6rem;
}

.section { padding: 1.2rem 0 2.2rem; }
.section h2 { color: var(--gold); font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 0.4rem; }
.sub { color: var(--muted); margin: 0 0 1.1rem; }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; }
.filter {
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}
.filter[aria-pressed="true"], .filter:hover {
  background: var(--gold);
  color: #1a1404;
  border-color: var(--gold);
}

.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.cat-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.cat-card-media { display: block; color: inherit; }
.cat-blurb { margin: 0.45rem 0 0; color: var(--muted); font-size: 0.92rem; }
.price {
  margin: 0.2rem 0 0;
  color: var(--gold);
  font-weight: 800;
  font-size: 1.15rem;
}
.avail {
  margin: 0.15rem 0 0;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.dm-buy {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dm-buy:hover { color: var(--gold); }
.cat-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; object-position: center 20%; }
.cat-card div { padding: 0.85rem 1rem 1rem; }
.cat-card h3 { margin: 0 0 0.3rem; color: var(--gold-soft); font-size: 1.15rem; }
.cat-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.piece {
  margin: 0;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  padding: 0;
  color: inherit;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.piece-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}
.piece-open:hover img, .piece-open:focus-visible img {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.piece img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.piece figcaption {
  padding: 0.55rem 0.7rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.piece .piece-name { color: var(--muted); }
.piece .price { font-size: 1rem; }
.piece .avail { font-size: 0.7rem; }

.contact-band {
  background: linear-gradient(165deg, #203528, #132019);
  border: 2px solid var(--gold);
  border-radius: 22px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.contact-band h2 { margin-top: 0; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 1rem 0; }
.person {
  background: rgba(0,0,0,0.2);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}
.person strong { display: block; color: var(--gold-soft); font-size: 1.1rem; }
.person a { font-weight: 800; font-size: 1.15rem; text-decoration: none; color: var(--ink); }
.links { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; font-weight: 700; }

.form-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
}
form { display: grid; gap: 0.85rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
label { display: block; font-weight: 800; font-size: 0.92rem; }
label span { display: block; font-weight: 600; color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; }
input, select, textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #3d5a48;
  background: #0e1a14;
  color: var(--ink);
}
textarea { min-height: 90px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.ok { color: var(--green); font-weight: 700; }
.err { color: var(--danger); font-weight: 700; }
.hint { color: var(--muted); font-size: 0.88rem; }

footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  z-index: 50;
  padding: 1.2rem;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-height: min(88vh, 1200px);
  max-width: min(92vw, 700px);
  border-radius: 12px;
  border: 2px solid var(--gold);
}
.lightbox .meta {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  background: rgba(12,24,18,0.9);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  max-width: calc(100% - 2rem);
  overflow: hidden;
  text-overflow: ellipsis;
}
.lightbox .meta a { color: var(--gold-soft); }
.lightbox button {
  position: absolute;
  background: var(--gold);
  color: #1a1404;
  border: 0;
  border-radius: 999px;
  width: 2.4rem;
  height: 2.4rem;
  font-weight: 900;
  cursor: pointer;
}
.lightbox .close { top: 1rem; right: 1rem; }
.lightbox .prev { left: 1rem; top: 50%; }
.lightbox .next { right: 1rem; top: 50%; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.admin-table th, .admin-table td {
  border-bottom: 1px solid #3d5a48;
  text-align: left;
  padding: 0.6rem 0.5rem;
  vertical-align: top;
}
.hidden { display: none !important; }

@media (max-width: 900px) {
  .hero, .cats, .people, .row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  h1 { font-size: 2rem; }
}

.section, #gallery, #contact, #wholesale, #gallery h2, #wholesale h2 {
  scroll-margin-top: 6.5rem;
}
@media (max-width: 900px) {
  .section, #gallery, #contact, #wholesale, #gallery h2, #wholesale h2 {
    scroll-margin-top: 8.5rem;
  }
}

html {
  scroll-padding-top: 8rem;
}
@media (min-width: 800px) {
  html {
    scroll-padding-top: 5.5rem;
  }
}
#gallery, #contact, #wholesale, .section {
  scroll-margin-top: 8rem;
}
@media (min-width: 800px) {
  #gallery, #contact, #wholesale, .section {
    scroll-margin-top: 5.5rem;
  }
}

/* Call or text + wholesale links (2026-11-11) */
.buy-links { margin: 0.25rem 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.4rem; }
.buy-links .dm-buy { margin-top: 0; }
.buy-sep { color: var(--muted); }
.call-text {
  color: var(--gold-soft);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.call-text:hover { color: var(--gold); }
.wholesale-link { margin: 0.6rem 0 0; }
.wholesale-link a {
  display: inline-block;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wholesale-link a:hover { color: var(--gold); }
.people { grid-template-columns: 1fr 1fr 1fr; }
.person-wholesale {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 2px solid var(--gold);
}
.person-wholesale:hover { background: rgba(242, 198, 75, 0.12); }
.person-wholesale .wholesale-cta {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) {
  .people { grid-template-columns: 1fr; }
}
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
label span.req { display: inline; color: var(--gold); font-size: inherit; margin: 0; }


/* Retail / wholesale clarity (2026-11-11) */
.retail-notice {
  background: var(--gold);
  color: #1a1404;
  border-radius: 16px;
  padding: 1rem 1.15rem 1.15rem;
  margin: 0.9rem 0 1.1rem;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.retail-notice-copy {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #1a1404;
}
.retail-notice .btn {
  font-size: 1.05rem;
  padding: 0.85rem 1.4rem;
}
@media (max-width: 900px) {
  .retail-notice .btn {
    width: 100%;
    justify-content: center;
  }
}
.btn-wholesale-banner {
  background: #1a1404;
  color: var(--gold);
  border-color: #1a1404;
  font-size: 1.02rem;
  padding: 0.8rem 1.35rem;
  white-space: nowrap;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
}
.btn-wholesale-banner:hover {
  background: #2a2010;
  color: var(--gold-soft);
}

.btn-wholesale {
  background: var(--gold);
  color: #1a1404;
  border-color: var(--gold);
  font-size: 1.05rem;
  padding: 0.85rem 1.3rem;
  box-shadow: 0 0 0 3px rgba(242, 198, 75, 0.28);
}
.btn-wholesale:hover {
  background: var(--gold-soft);
  color: #1a1404;
}

.retail-tag {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.08rem 0.42rem;
  border-radius: 999px;
  background: rgba(242, 198, 75, 0.16);
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  font-size: 0.68em;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 0.08em;
  line-height: 1.3;
}
.piece .retail-tag {
  font-size: 0.62rem;
  vertical-align: 0.12em;
}

.person-wholesale {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
}
.wholesale-card-btn {
  align-self: flex-start;
  white-space: nowrap;
}

.wholesale-sticky {
  display: none;
}

@media (max-width: 900px) {
  .wholesale-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(12, 24, 18, 0.94);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--gold);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
  }
  .wholesale-sticky .btn {
    display: flex;
    width: 100%;
  }
  body {
    padding-bottom: 5.2rem;
  }
  .lightbox.open ~ .wholesale-sticky,
  body:has(.lightbox.open) .wholesale-sticky,
  .wholesale-sticky.is-hidden {
    display: none !important;
  }
  body.sticky-wholesale-off {
    padding-bottom: 0;
  }
}
