/* ─── Decades on Main — modern vintage ─── */

:root {
  /* Palette - "Cream & Sage" default */
  --bg: #f4ede0;
  --bg-card: #fbf6ec;
  --bg-alt: #ebe1cc;
  --bg-dark: #1f1a14;
  --ink: #1f1a14;
  --ink-soft: #4a4239;
  --ink-muted: #8c8275;
  --line: #d8cdb7;
  --line-soft: #e6dcc6;
  --sage: #6e7f5b;
  --sage-dark: #4f5d40;
  --terracotta: #b25a3a;
  --terracotta-dark: #8d4528;
  --gold: #a88845;
  --rose: #b07368;

  /* Type */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", "DM Mono", ui-monospace, monospace;

  /* Spacing scale */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
}

/* Palette variants */
[data-palette="ivory-sage"] {
  --bg: #f7f2e8;
  --bg-card: #ffffff;
  --bg-alt: #ecead8;
  --sage: #758a64;
  --terracotta: #91623f;
}
[data-palette="paper-charcoal"] {
  --bg: #ede7d8;
  --bg-card: #f8f3e6;
  --bg-alt: #2a2620;
  --ink: #181410;
  --sage: #5a6b4b;
  --terracotta: #a14a2a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button { font-family: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; cursor: pointer; }
label { cursor: pointer; }
.nav-link, .nav-cart, .mobile-menu-link, .mobile-menu-sub,
.chip, .segmented button, .admin-tab, .close-x,
.carousel-btn, .qty button {
  cursor: pointer;
}
img, video { display: block; max-width: 100%; }

/* Type */
.serif { font-family: var(--serif); font-weight: 400; }
.italic { font-style: italic; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1;
}
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: 56px; line-height: 1.05; }
h2 { font-size: 36px; line-height: 1.1; }
h3 { font-size: 22px; line-height: 1.2; font-weight: 500; }
p { margin: 0 0 1em; }

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.section { padding: var(--s-9) 0; }

/* ─── Nav ─── */
.nav {
  position: fixed; inset: 0 0 auto 0;
  height: 130px;
  background: rgba(244, 237, 224, 0.92);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(31, 26, 20, 0.06);
  z-index: 100;
  transition: background 200ms ease, border-color 200ms ease, transform 380ms cubic-bezier(.2,.7,.2,1), opacity 240ms ease;
}
.nav.nav--hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
.nav.nav--transparent {
  background: linear-gradient(to bottom, rgba(31, 26, 20, 0.40) 0%, rgba(31, 26, 20, 0.14) 100%);
  backdrop-filter: blur(5px) saturate(115%);
  -webkit-backdrop-filter: blur(5px) saturate(115%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav.nav--transparent .nav-link,
.nav.nav--transparent .nav-cart {
  color: #fff;
  text-shadow: 0 1px 14px rgba(0,0,0,0.45);
}
.nav.nav--transparent .nav-logo {
  filter: invert(1) brightness(1.2) drop-shadow(0 2px 12px rgba(0,0,0,0.35));
}
.nav-inner {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}
.nav-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  min-width: 44px;
}
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}
.nav-logo {
  height: 126px;
  width: auto;
  display: block;
  transition: opacity 200ms ease, filter 200ms ease;
}
.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: var(--s-3) 0;
  position: relative;
  transition: color 160ms ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px;
  height: 1px; background: var(--ink);
}
.nav.nav--transparent .nav-link:hover, .nav.nav--transparent .nav-link.is-active { color: #fff; }
.nav.nav--transparent .nav-link.is-active::after { background: #fff; }

.nav-cart {
  position: relative;
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: inherit;
  margin-left: var(--s-4);
}
.nav-cart:hover { background: rgba(31, 26, 20, 0.06); }
.nav.nav--transparent .nav-cart:hover { background: rgba(255,255,255,0.12); }
.nav-cart .cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: var(--terracotta);
  color: #fff;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Nav CTA pill — "Schedule a Consultation" */
.nav-cta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink-soft);
  border-radius: 999px;
  padding: 9px 18px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.nav-cta:hover, .nav-cta.is-active { background: var(--ink); color: var(--bg-card); border-color: var(--ink); }
.nav.nav--transparent .nav-cta { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.nav.nav--transparent .nav-cta:hover, .nav.nav--transparent .nav-cta.is-active { background: #fff; color: var(--ink); border-color: #fff; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: var(--s-3);
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: all 180ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg-card);
}
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--bg-card); }
.btn-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-light-solid {
  background: #fff;
  color: var(--ink);
}
.btn-light-solid:hover { background: var(--bg); }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 11px; }
.btn-lg { padding: 18px 36px; }

/* ─── Hero ─── */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh; /* fills the visible screen on mobile Safari/Chrome, toolbar or not */
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  color: #fff;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(15,10,5,0.35) 0%, rgba(15,10,5,0.15) 30%, rgba(15,10,5,0.55) 100%);
  z-index: 1;
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: 0 var(--s-6);
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--s-5);
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; display: inline-block;
  width: 36px; height: 1px;
  background: rgba(255,255,255,0.55);
  vertical-align: middle;
  margin: 0 var(--s-4);
}
.hero-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-5);
  max-width: 22ch;
}
.hero-sub {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  max-width: 52ch;
  margin: 0 auto var(--s-7);
  line-height: 1.6;
}
.hero-cta {
  display: flex; gap: var(--s-3);
  flex-wrap: wrap; justify-content: center;
}
.hero-scroll {
  position: absolute;
  bottom: var(--s-7);
  left: 50%; transform: translateX(-50%);
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex; flex-direction: column; align-items: center; gap: var(--s-3);
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,255,255,0));
  animation: scroll-bob 2.6s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.5; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ─── Section header ─── */
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
  flex-wrap: wrap;
}
.section-head h2 { font-size: 48px; font-style: italic; font-weight: 400; }
.section-head .eyebrow { margin-bottom: var(--s-3); display: block; }
.section-head .meta { color: var(--ink-muted); font-size: 14px; }

/* Botanical divider */
.divider-leaf {
  display: flex; align-items: center; justify-content: center;
  gap: var(--s-4);
  color: var(--ink-muted);
  margin: var(--s-5) 0;
}
.divider-leaf::before, .divider-leaf::after {
  content: ""; flex: 1; max-width: 80px;
  height: 1px; background: var(--line);
}

/* ─── Product cards ─── */
.product-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -18px rgba(31,26,20,0.25);
  border-color: var(--line);
}
.product-image {
  width: 100%;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: #efe5d2;
}
.product-image svg.glyph {
  position: absolute; inset: 0;
  margin: auto;
  width: 38%; height: auto;
  opacity: 0.92;
}
.product-image .tag {
  position: absolute;
  top: var(--s-3); left: var(--s-3);
  background: var(--bg-card);
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 3px;
}
.product-image .tag.sold {
  background: #d1321b;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2em;
  box-shadow: 0 4px 12px -2px rgba(209, 50, 27, 0.5);
}
.product-meta {
  padding: var(--s-4);
  display: flex; flex-direction: column; gap: 4px;
}
.product-meta .vendor {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.product-meta .name {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
  margin: 2px 0;
}
.product-meta .price {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  margin-top: 4px;
}
.product-meta .price.sold {
  color: #d1321b;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-color: #d1321b;
}

/* ─── Featured carousel ─── */
.carousel {
  position: relative;
}
.carousel-track {
  display: flex;
  gap: var(--s-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px var(--s-6) var(--s-6);
  margin: 0 calc(-1 * var(--s-6));
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * {
  flex: 0 0 calc((100% - (var(--s-5) * 5)) / 6);
  scroll-snap-align: start;
  min-width: 150px;
}
@media (max-width: 1100px) { .carousel-track > * { flex-basis: calc((100% - (var(--s-5) * 3)) / 4); } }
@media (max-width: 640px) { .carousel-track > * { flex-basis: 46%; } }
/* Featured carousel — compact card text to match smaller cards */
.carousel-track .product-meta { padding: var(--s-3); gap: 3px; }
.carousel-track .product-meta .vendor { font-size: 10px; }
.carousel-track .product-meta .name { font-size: 15px; }
.carousel-track .product-meta .price { font-size: 13px; }
.carousel-nav {
  display: flex; gap: var(--s-2);
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: all 160ms ease;
}
.carousel-btn:hover { background: var(--ink); color: var(--bg-card); border-color: var(--ink); }
.carousel-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ─── Product grid ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s-5);
}

/* ─── Shop layout ─── */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: var(--s-6);
}
.segmented {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.segmented button {
  background: transparent; border: none;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-radius: 999px;
  transition: all 180ms ease;
}
.segmented button.active {
  background: var(--ink);
  color: var(--bg-card);
}

.filter-bar {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.filter-select {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  min-width: 240px;
  cursor: pointer;
}
.filter-select:hover { border-color: var(--ink); }
.chip {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: all 160ms ease;
  font-family: var(--sans);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg-card); border-color: var(--ink); }

/* Section/vendor header row */
.vendor-header {
  display: flex; align-items: end; justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-8) 0 var(--s-6);
  border-top: 1px solid var(--line-soft);
  margin-top: var(--s-8);
}
.vendor-header:first-of-type { border-top: none; margin-top: var(--s-4); padding-top: 0; }
.vendor-header h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.vendor-header .vendor-info {
  display: flex; flex-direction: column; gap: 6px;
}
.vendor-header .booth {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.vendor-header .blurb {
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 48ch;
}

/* ─── Product detail ─── */
.pdp {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-8);
  padding-top: 150px;
}
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.pdp-gallery .main {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.pdp-gallery .main svg { position: absolute; inset:0; margin:auto; width: 40%; }
.pdp-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3); margin-top: var(--s-3);
}
.pdp-thumb {
  aspect-ratio: 1/1;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  position: relative; overflow: hidden;
  cursor: pointer;
}
.pdp-thumb.active { border-color: var(--ink); }
.pdp-thumb svg { position: absolute; inset:0; margin:auto; width: 50%; }
.pdp-info { display: flex; flex-direction: column; gap: var(--s-4); }
.pdp-info .vendor-tag {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-muted);
}
.pdp-info h1 {
  font-size: 48px; font-weight: 400; font-style: italic;
  line-height: 1.05;
}
.pdp-info .price { font-family: var(--sans); font-size: 28px; font-weight: 500; }
.pdp-info .price.sold { color: #d1321b; text-decoration: line-through; text-decoration-color: #d1321b; }
.pdp-info .desc { color: var(--ink-soft); font-size: 16px; line-height: 1.65; max-width: 52ch; }
.pdp-specs {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: var(--s-4) 0;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3) var(--s-5);
}
.pdp-specs dt { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
.pdp-specs dd { margin: 0; font-size: 15px; color: var(--ink); }
.pdp-cta { display: flex; gap: var(--s-3); align-items: stretch; flex-wrap: wrap; }
.qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.qty button { background: transparent; border: none; padding: 0 16px; height: 50px; font-size: 18px; color: var(--ink); cursor: pointer; }
.qty span { min-width: 32px; text-align: center; font-weight: 500; }

/* ─── Cart ─── */
.cart-wrap { padding-top: 150px; display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s-8); }
@media (max-width: 900px) { .cart-wrap { grid-template-columns: 1fr; } }
.cart-list { display: flex; flex-direction: column; gap: var(--s-4); }
.cart-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: var(--s-5);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}
.cart-row .thumb {
  width: 100px; aspect-ratio: 4/5;
  border-radius: var(--radius-sm);
  position: relative; overflow: hidden;
  border: 1px solid var(--line-soft);
}
.cart-row .thumb svg { position: absolute; inset:0; margin:auto; width: 55%; }
.cart-row .info h4 { font-family: var(--serif); font-style: italic; font-size: 22px; margin-bottom: 4px; font-weight: 400; }
.cart-row .info .vendor { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); }
.cart-row .info .qty-row { display: flex; gap: var(--s-4); align-items: center; margin-top: var(--s-2); }
.cart-row .info .qty-row button { background: none; border: none; color: var(--ink-muted); font-size: 13px; padding: 0; cursor: pointer; }
.cart-row .info .qty-row button:hover { color: var(--terracotta); }
.cart-row .price-col { font-family: var(--sans); font-size: 17px; font-weight: 500; text-align: right; }

.summary {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--s-6);
  align-self: start;
  position: sticky;
  top: 150px;
}
.summary h3 { font-family: var(--serif); font-style: italic; font-size: 28px; margin-bottom: var(--s-5); }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ink-soft); }
.summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: var(--s-4); padding-top: var(--s-4);
  font-family: var(--serif); font-size: 22px; color: var(--ink); font-weight: 500;
}

/* ─── Checkout ─── */
.checkout-grid { padding-top: 150px; display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-8); }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }
.steps {
  display: flex; gap: var(--s-4);
  margin-bottom: var(--s-6);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
}
.steps span { color: var(--ink-muted); }
.steps span.active { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.steps span.done { color: var(--ink-soft); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted);
}
.field input, .field select, .field textarea {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 160ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }

.fieldset-title {
  font-family: var(--serif); font-style: italic;
  font-size: 26px;
  margin: var(--s-5) 0 var(--s-4);
}

/* ─── About / Contact / Selling ─── */
.editorial { padding-top: 150px; }
.editorial-hero {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: var(--s-8);
  padding: var(--s-9) 0;
  align-items: center;
}
@media (max-width: 900px) { .editorial-hero { grid-template-columns: 1fr; } }
.editorial-hero h1 {
  font-size: clamp(48px, 6vw, 88px);
  font-style: italic; font-weight: 400;
}
.editorial-hero p { font-size: 18px; color: var(--ink-soft); line-height: 1.7; }
.editorial-image {
  aspect-ratio: 4/5;
  background: var(--bg-alt);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-7);
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
.info-card h3 { font-family: var(--serif); font-style: italic; font-size: 28px; margin-bottom: var(--s-3); font-weight: 400; }
.info-card p, .info-card a { color: var(--ink-soft); }
.info-card a:hover { color: var(--terracotta); }

.hours-list { font-family: var(--sans); list-style: none; padding: 0; margin: 0; max-width: 240px; }
.hours-list li { display: flex; justify-content: space-between; gap: var(--s-5); padding: 4px 0; color: var(--ink-soft); }
.hours-list li.closed { color: var(--ink-muted); font-style: italic; }
.hours-list li.today { color: var(--terracotta); font-weight: 500; }

/* About page — each section as a "bubble" card */
.editorial.container > .about-bubble {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: var(--s-5);
  border: 1px solid var(--line-soft);
}
.editorial.container > .about-bubble:last-child {
  margin-bottom: 0;
}
/* Override the previous full-bleed treatments since they're now bubbles */
.editorial.container > section.about-stats-band,
.editorial.container > section.about-comeon-band {
  background: var(--bg-alt);
  color: inherit;
  margin: 0 0 var(--s-5) 0;
  padding: var(--s-8) var(--s-7) !important;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
}
.editorial.container > section.about-comeon-band h2 { color: var(--ink); }
.editorial.container > section.about-comeon-band .muted { color: var(--ink-muted); }
.editorial.container > section.about-comeon-band .btn-outline {
  color: var(--ink);
  border-color: var(--ink);
}
.editorial.container > section.about-comeon-band .btn-outline:hover {
  background: var(--ink);
  color: var(--bg-card);
}
.editorial.container > section.about-comeon-band .btn-primary {
  background: var(--ink);
  color: var(--bg-card);
}

/* Space the About page from the nav */
main.editorial { padding-top: 130px; }

@media (max-width: 768px) {
  .editorial.container > .about-bubble,
  .editorial.container > section.about-stats-band,
  .editorial.container > section.about-comeon-band {
    padding: var(--s-6) var(--s-5) !important;
    border-radius: var(--radius);
  }
}
.about-story {
  max-width: 1100px;
  margin: 0 auto;
}
.about-story-image {
  float: right;
  width: 45%;
  max-width: 460px;
  margin: 6px 0 var(--s-5) var(--s-7);
  shape-outside: margin-box;
}
.about-story::after {
  content: "";
  display: block;
  clear: both;
}
.about-story p, .about-story h2, .about-story .eyebrow {
  text-align: left;
}


/* About page — editorial layout (rebuild) */
.about-page { padding-bottom: var(--s-9); }
.about-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--s-7) 0 var(--s-6);
}
.about-page .about-hero-title {
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1;
  margin: var(--s-3) 0 0;
  font-weight: 400;
}
.about-hero-sub {
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 50ch;
  margin: var(--s-5) auto 0;
}
.about-hero-image {
  margin: var(--s-6) 0 var(--s-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(31,26,20,0.3);
}
.about-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}
.about-story-column {
  max-width: 62ch;
  margin: 0 auto;
  padding: var(--s-5) 0;
}
.about-story-column .eyebrow { display: inline-block; }
.about-page .about-section-h {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  text-align: center;
  margin: var(--s-3) 0 var(--s-6);
  line-height: 1.05;
}
.about-story-column p {
  font-size: 17.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0 0 var(--s-5);
}
.about-story-column p:last-of-type { margin-bottom: 0; }
.about-inline-image { margin: var(--s-7) 0; }
.about-inline-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}
.about-inline-image figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.about-stats-rule {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin: var(--s-9) 0;
  padding: var(--s-5) 0;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: var(--s-5);
  flex-wrap: wrap;
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
}
.about-stats-rule b {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin-right: 4px;
}
.about-stats-rule .dot { color: var(--ink-muted); }
.about-cta {
  text-align: center;
  max-width: 640px;
  margin: var(--s-7) auto 0;
  padding: var(--s-6) 0;
}
.about-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: var(--s-5);
}
@media (max-width: 768px) {
  .about-hero { padding: var(--s-5) 0 var(--s-4); }
  .about-hero-sub { font-size: 16px; }
  .about-hero-image { margin: var(--s-4) 0 var(--s-6); border-radius: var(--radius); }
  .about-story-column p { font-size: 16px; line-height: 1.75; }
  .about-stats-rule { gap: var(--s-3); padding: var(--s-4) 0; margin: var(--s-7) 0; font-size: 13px; }
  .about-stats-rule .dot { display: none; }
  .about-stats-rule b { font-size: 18px; }
}

@media (max-width: 700px) {
  .about-story-image {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 var(--s-5) 0;
  }
}

/* ─── Footer ─── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  padding: var(--s-9) 0 var(--s-6);
  margin-top: var(--s-9);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-7);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.footer-logo {
  height: 90px;
  width: auto;
  display: block;
  filter: invert(1) brightness(1.4);
  margin-bottom: var(--s-4);
}
.footer h4 {
  font-family: var(--sans);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--s-4);
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: rgba(255,255,255,0.78); transition: color 160ms ease; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer .small { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  display: flex; justify-content: space-between; gap: var(--s-4);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}
.socials { display: flex; gap: var(--s-3); }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 160ms ease;
}
.socials a:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ─── Admin ─── */
.admin {
  min-height: 100vh;
  background: var(--bg);
}
.admin-login {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-5);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(110,127,91,0.25), transparent 60%),
    var(--bg);
}
.admin-login-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: var(--s-8) var(--s-7);
  max-width: 440px; width: 92%;
  box-shadow: 0 30px 70px -30px rgba(31,26,20,0.25);
}
.admin-login-card img.logo {
  height: 112px !important; width: auto !important; max-width: 80%;
  margin: 0 auto var(--s-5); display: block;
}
.admin-login-card h2 {
  text-align: center; font-style: italic;
  font-size: 30px; margin-bottom: var(--s-2);
}
.admin-login-card .sub {
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: var(--s-6);
}
.admin-hint {
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
  margin-top: var(--s-4);
}
.admin-back {
  background: none;
  border: none;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 6px 10px;
  transition: color 160ms ease;
}
.admin-back:hover { color: var(--ink); }

/* Admin top bar */
.admin-topbar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--line-soft);
  padding: var(--s-4) var(--s-6);
}
.admin-topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-4);
  max-width: 1400px;
  margin: 0 auto;
}
.admin-topbar-left { display: flex; justify-content: flex-start; }
.admin-topbar-center { display: flex; justify-content: center; }
.admin-topbar-right { display: flex; justify-content: flex-end; }
.admin-topbar-link {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 6px 10px;
  transition: color 160ms ease;
}
.admin-topbar-link:hover { color: var(--ink); }
.admin-topbar-signout {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-muted);
  padding: 4px 0 0;
  letter-spacing: 0.08em;
  display: block;
  margin-left: auto;
  transition: color 160ms ease;
}
.admin-topbar-signout:hover { color: var(--ink); }
@media (max-width: 640px) {
  .admin-topbar { padding: var(--s-3) var(--s-4); }
  .admin-topbar-link { font-size: 10px; padding: 4px 6px; letter-spacing: 0.12em; }
  .admin-topbar-right .admin-topbar-eyebrow { display: none; }
}

.admin-layout {
  display: grid; grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 130px);
}
.admin-layout > * { min-width: 0; }
.admin-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--line-soft);
  padding: var(--s-6) var(--s-4);
  display: flex; flex-direction: column; gap: var(--s-2);
}
.admin-sidebar h4 {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0 var(--s-3);
  margin: var(--s-3) 0 var(--s-2);
}
.admin-tab {
  text-align: left;
  background: transparent;
  border: none;
  padding: 10px var(--s-3);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: var(--s-3);
  cursor: pointer;
  transition: all 140ms ease;
}
.admin-tab:hover { background: var(--bg); }
.admin-tab.active { background: var(--ink); color: var(--bg-card); }
.admin-main { padding: var(--s-6) var(--s-7); min-width: 0; }
.admin-mobile-tabs { display: none; }
.admin-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.admin-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: var(--s-6);
}
.admin-head h1 { font-size: 36px; font-style: italic; font-weight: 400; }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-bottom: var(--s-6); }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--s-5);
}
.stat-card .label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.stat-card .value { font-family: var(--serif); font-size: 36px; line-height: 1; }
.stat-card .delta { font-size: 12px; color: var(--sage-dark); margin-top: 6px; }
.stat-card .delta.down { color: var(--terracotta-dark); }

.admin-table {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
}
.admin-table table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-muted);
  padding: 14px var(--s-4);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
  font-weight: 500;
}
.admin-table td {
  padding: 14px var(--s-4);
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-soft);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .thumb-cell {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  position: relative; overflow: hidden;
  display: inline-block;
}
.admin-table .thumb-cell svg { position: absolute; inset:0; margin: auto; width: 55%; }
.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.status-pill.live { background: #e3edd8; color: var(--sage-dark); }
.status-pill.draft { background: var(--bg); color: var(--ink-muted); border: 1px solid var(--line); }
.status-pill.sold { background: var(--ink); color: var(--bg-card); }

/* Chart */
.chart {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--s-5);
  margin-bottom: var(--s-5);
}
.chart svg { width: 100%; height: 240px; display: block; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(20,15,10,0.55);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: var(--s-5);
}
.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 560px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.4);
}
.modal-head {
  padding: var(--s-5) var(--s-6);
  border-bottom: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-head h3 { font-style: italic; font-size: 26px; font-weight: 400; }
.modal-body { padding: var(--s-6); }
.modal-foot { padding: var(--s-4) var(--s-6); border-top: 1px solid var(--line-soft); display: flex; justify-content: flex-end; gap: var(--s-3); }

.close-x { background: none; border: none; color: var(--ink-muted); font-size: 22px; padding: 4px 8px; cursor: pointer; }
.close-x:hover { color: var(--ink); }

/* image-slot inside the admin upload */
.upload-slot {
  aspect-ratio: 4/5;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-muted);
  font-size: 13px;
  text-align: center;
  padding: var(--s-4);
}

/* Multi-photo gallery in the item editor */
.item-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: var(--s-3);
}
.item-photo {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg);
}
.item-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-photo-cover {
  position: absolute; left: 4px; bottom: 4px;
  background: var(--ink); color: var(--bg-card);
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 3px;
}
.item-photo-remove,
.item-photo-star {
  position: absolute; top: 4px;
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  border: none; border-radius: 50%;
  background: rgba(20,15,10,0.6); color: #fff;
  cursor: pointer; padding: 0;
}
.item-photo-remove { right: 4px; }
.item-photo-star { left: 4px; font-size: 13px; line-height: 1; }
.item-photo-remove:hover { background: #d1321b; }
.item-photo-star:hover { background: var(--ink); }
.item-photo-add {
  aspect-ratio: 1/1;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  color: var(--ink-muted);
  font-size: 12px;
  cursor: pointer;
  text-align: center;
}
.item-photo-add:hover { border-color: var(--ink-muted); color: var(--ink-soft); }

/* Confirmation page */
.confirmation {
  padding-top: 150px;
  text-align: center;
  max-width: 600px; margin: 0 auto;
  padding-bottom: var(--s-9);
}
.confirmation .check {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1.5px solid var(--sage);
  color: var(--sage);
  display: inline-flex; align-items: center; justify-content: center;
  margin: var(--s-8) auto var(--s-5);
}
.confirmation h1 { font-size: 56px; font-style: italic; font-weight: 400; margin-bottom: var(--s-3); }
.confirmation .order-num { color: var(--ink-muted); letter-spacing: 0.18em; text-transform: uppercase; font-size: 12px; margin-bottom: var(--s-6); }

/* Misc */
.text-center { text-align: center; }
.muted { color: var(--ink-muted); }
.empty-state {
  text-align: center;
  padding: var(--s-9) var(--s-5);
  color: var(--ink-muted);
}
.empty-state h3 { font-family: var(--serif); font-style: italic; font-size: 32px; margin-bottom: var(--s-3); color: var(--ink); font-weight: 400; }


/* ════════════════════════════════════════════════
   MOBILE — hamburger nav, mobile menu, responsive
   ════════════════════════════════════════════════ */

/* Hamburger button (hidden on desktop, shown on mobile) */
.nav-hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: inherit;
  padding: 0;
}
.hamburger-icon {
  position: relative;
  width: 22px; height: 16px;
  display: inline-block;
}
.hamburger-icon span {
  position: absolute; left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 240ms ease, opacity 200ms ease, top 240ms ease;
  border-radius: 1px;
}
.hamburger-icon span:nth-child(1) { top: 2px; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 14px; }
.hamburger-icon.is-open span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.hamburger-icon.is-open span:nth-child(2) { opacity: 0; }
.hamburger-icon.is-open span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* When the mobile menu is open, force the nav to use solid background even on hero */
.nav.nav--menu-open {
  background: var(--bg);
  backdrop-filter: none;
}
.nav.nav--menu-open .nav-link,
.nav.nav--menu-open .nav-hamburger,
.nav.nav--menu-open .nav-cart {
  color: var(--ink);
  text-shadow: none;
}
.nav.nav--menu-open .nav-logo {
  filter: none;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 90;
  padding: 130px var(--s-6) var(--s-6);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 360ms cubic-bezier(.2,.7,.2,1), opacity 260ms ease;
  pointer-events: none;
  overflow-y: auto;
}
.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-inner {
  display: flex; flex-direction: column;
  gap: var(--s-4);
  height: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.mobile-menu-link {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}
.mobile-menu-link:hover, .mobile-menu-link.is-active { color: var(--terracotta); }
.mobile-menu-cta { color: var(--sage); }
.mobile-menu-cta:hover { color: var(--sage-dark); }
.mobile-menu-foot {
  margin-top: auto;
  padding-top: var(--s-5);
  display: flex; flex-direction: column;
  gap: var(--s-4);
}
.mobile-menu-sub {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
}
.mobile-menu-meta {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.6;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-soft);
}

/* ─── Tablet (≤900px) ──────────────────────────── */
@media (max-width: 900px) {
  .container { padding: 0 var(--s-5); }
  h1 { font-size: 44px; }
  h2 { font-size: 30px; }
  .section { padding: var(--s-8) 0; }
  .section-head h2 { font-size: 36px; }

  .editorial-hero h1 { font-size: clamp(40px, 8vw, 64px); }
  .editorial-hero p { font-size: 16px; }

  /* PDP spec grid */
  .pdp-specs { grid-template-columns: 1fr; }

  /* Editorial pages */
  .editorial > section:first-of-type h1 { font-size: clamp(40px, 9vw, 64px) !important; }
  .editorial > section:first-of-type p { font-size: 16px !important; }
}

/* ─── Phone & narrow tablet (≤1024px) — switch to hamburger ─ */
@media (max-width: 1024px) {
  /* Nav becomes hamburger */
  .nav { height: 90px; }
  .nav.nav--menu-open { height: 90px; }
  .nav-inner {
    padding: 0 var(--s-4);
  }
  .nav-links-desktop-item { display: none !important; }
  .nav-hamburger { display: inline-flex; }
  /* Logo centered on mobile (left-aligned on desktop), sized to fit the
     90px bar. !important overrides the inline height set by the Logo
     component so it can't overflow the nav onto the hero. */
  .nav-logo {
    height: 82px !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 70vw;
    width: auto;
    object-fit: contain;
  }
  .mobile-menu { padding-top: 100px; }
  .mobile-menu-link { font-size: 22px; padding: 8px 0; }

  /* Sections that depend on nav height — nav is now 90px instead of 130 */
  .pdp, .cart-wrap, .checkout-grid, .editorial, .confirmation { padding-top: 110px; }
  .summary { position: static; top: auto; }
}

/* ─── Phone (≤768px) ──────────────────────────── */
@media (max-width: 768px) {
  /* Sections that depend on nav height */
  .pdp, .cart-wrap, .checkout-grid, .editorial, .confirmation { padding-top: 100px; }
  /* Hero */
  .hero { min-height: 560px; }
  .hero-title { font-size: clamp(32px, 8vw, 56px); }
  .hero-sub { font-size: 15px; padding: 0 var(--s-3); }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.32em; text-align: center; }
  .hero-eyebrow::before, .hero-eyebrow::after { display: none; }
  .hero-eyebrow .hero-eyebrow-line { display: block; }
  .hero-eyebrow .hero-eyebrow-sep { display: none; }
  .hero-eyebrow .hero-eyebrow-loc { display: block; margin-top: 4px; }

  /* Buttons slightly smaller */
  .btn { padding: 12px 22px; font-size: 11px; }
  .btn-lg { padding: 15px 28px; }

  /* Home about strip */
  .home-about-grid { grid-template-columns: 1fr !important; gap: var(--s-6) !important; }

  /* Home categories: 4 → 2 */
  .home-categories { grid-template-columns: repeat(2, 1fr) !important; }

  /* Section heads stack */
  .section-head { flex-direction: column; align-items: flex-start; gap: var(--s-3); margin-bottom: var(--s-5); }
  .section-head h2 { font-size: 32px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
  .footer-logo { height: 72px; }

  /* Shop toolbar */
  .shop-toolbar { padding: var(--s-4) 0; }
  .shop-toolbar > div { width: 100%; justify-content: space-between; }
  .segmented { flex: 1; }
  .segmented button { flex: 1; padding: 9px 8px; font-size: 11px; letter-spacing: 0.1em; }
  .filter-bar { gap: 6px; }
  .filter-select { width: 100%; min-width: 0; }

  /* Product grid: smaller minimum */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .product-meta { padding: var(--s-3); }
  .product-meta .name { font-size: 16px; }
  .product-meta .price { font-size: 14px; }

  /* Carousel: smaller cards */
  .carousel-track > * { min-width: 140px; flex-basis: 46%; }

  /* PDP */
  .pdp { grid-template-columns: 1fr; gap: var(--s-5); }
  .pdp-info h1 { font-size: 36px; }
  .pdp-info .price { font-size: 22px; }
  .pdp-cta { flex-direction: column; align-items: stretch; }
  .pdp-cta .qty, .pdp-cta .btn { width: 100%; }
  .pdp-cta .qty { justify-content: space-between; }
  .pdp-thumbs { grid-template-columns: repeat(4, 1fr); }

  /* Cart */
  .cart-wrap { grid-template-columns: 1fr; gap: var(--s-5); }
  .cart-row { grid-template-columns: 80px 1fr; grid-template-rows: auto auto; gap: var(--s-3); }
  .cart-row .thumb { width: 80px; }
  .cart-row .price-col { grid-column: 2; text-align: left; font-size: 16px; }
  .cart-row .info h4 { font-size: 19px; }

  /* Checkout */
  .checkout-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .steps { gap: var(--s-3); font-size: 10px; }

  /* About */
  .editorial-hero { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-7) 0; }
  .editorial-hero h1 { font-size: clamp(40px, 9vw, 64px); }
  .info-grid { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-6) 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr !important; gap: var(--s-6) !important; }

  /* Selling page */
  .selling-steps { grid-template-columns: 1fr !important; gap: var(--s-4) !important; }
  .selling-options { grid-template-columns: 1fr !important; }

  /* Confirmation */
  .confirmation h1 { font-size: 40px; }

  /* Admin: replace the sidebar with a dropdown above main */
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-mobile-tabs {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-4);
    background: var(--bg-card);
    border-bottom: 1px solid var(--line-soft);
  }
  .admin-mobile-tabs label {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-muted);
    white-space: nowrap;
  }
  .admin-mobile-tabs select {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }
  .admin-main { padding: var(--s-5) var(--s-4); min-width: 0; }
  .admin-head { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .admin-head h1 { font-size: 28px; }
  .admin-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-table table { min-width: 540px; }
  .admin-settings-grid { grid-template-columns: 1fr; }
  .admin-overview-grid { grid-template-columns: 1fr !important; }
  .admin-overview-grid .admin-table table { min-width: 0; }
  .admin-login-card { padding: var(--s-7) var(--s-5); }
  .admin-login-card h2 { font-size: 26px; }

  /* Modal — keep it snug to the screen so it can't drift sideways */
  .modal-backdrop { padding: var(--s-3); align-items: flex-start; }
  .modal { max-height: 94vh; max-width: 100%; overflow-x: hidden; }
  .modal-head, .modal-body, .modal-foot { padding-left: var(--s-4); padding-right: var(--s-4); }
  .modal-body, .modal-foot, .modal-head { min-width: 0; }

  /* Items list → stacked cards instead of a wide scrolling table */
  .admin-table--items table { min-width: 0; display: block; }
  .admin-table--items thead { display: none; }
  .admin-table--items tbody { display: block; }
  .admin-table--items tr {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    grid-template-areas:
      "thumb name    name"
      "thumb dealer  dealer"
      "thumb cat     cat"
      "thumb price   status"
      "thumb actions actions";
    column-gap: 12px;
    row-gap: 2px;
    align-items: center;
    padding: 14px var(--s-4);
    border-bottom: 1px solid var(--line-soft);
  }
  .admin-table--items td { display: block; padding: 0; border: none; }
  .admin-table--items td:nth-child(1) { grid-area: thumb; align-self: start; }
  .admin-table--items td:nth-child(2) { grid-area: name; font-weight: 500; }
  .admin-table--items td:nth-child(3) { grid-area: dealer; font-size: 13px; color: var(--ink-muted); }
  .admin-table--items td:nth-child(4) { grid-area: cat; font-size: 13px; color: var(--ink-muted); }
  .admin-table--items td:nth-child(5) { grid-area: price; font-weight: 500; color: var(--ink); }
  .admin-table--items td:nth-child(6) { grid-area: status; justify-self: end; }
  .admin-table--items td:nth-child(7) {
    grid-area: actions; justify-self: end; text-align: right;
    margin-top: 6px;
  }
  .admin-table--items td[colspan] {
    grid-column: 1 / -1; grid-area: auto;
    display: block; text-align: center; padding: 40px 0;
  }

  /* Shared card scaffolding for the other admin lists */
  .admin-table--subscribers table,
  .admin-table--events table,
  .admin-table--vendors table { min-width: 0; display: block; }
  .admin-table--subscribers thead,
  .admin-table--events thead,
  .admin-table--vendors thead { display: none; }
  .admin-table--subscribers tbody,
  .admin-table--events tbody,
  .admin-table--vendors tbody { display: block; }
  .admin-table--subscribers td,
  .admin-table--events td,
  .admin-table--vendors td { display: block; padding: 0; border: none; }
  .admin-table--subscribers td[colspan],
  .admin-table--events td[colspan],
  .admin-table--vendors td[colspan] {
    grid-column: 1 / -1; grid-area: auto; text-align: center; padding: 40px 0;
  }

  /* Subscribers cards */
  .admin-table--subscribers tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "email   status"
      "joined  joined"
      "actions actions";
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    padding: 14px var(--s-4);
    border-bottom: 1px solid var(--line-soft);
  }
  .admin-table--subscribers td:nth-child(1) { grid-area: email; font-weight: 500; word-break: break-all; }
  .admin-table--subscribers td:nth-child(2) { grid-area: joined; font-size: 13px; color: var(--ink-muted); }
  .admin-table--subscribers td:nth-child(3) { grid-area: status; justify-self: end; }
  .admin-table--subscribers td:nth-child(4) { grid-area: actions; justify-self: end; margin-top: 6px; }

  /* Events cards */
  .admin-table--events tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "event   status"
      "date    date"
      "tag     tag"
      "actions actions";
    column-gap: 12px;
    row-gap: 4px;
    align-items: center;
    padding: 14px var(--s-4);
    border-bottom: 1px solid var(--line-soft);
  }
  .admin-table--events td:nth-child(1) { grid-area: date; font-size: 13px; color: var(--ink-muted); }
  .admin-table--events td:nth-child(2) { grid-area: event; }
  .admin-table--events td:nth-child(3) { grid-area: tag; font-size: 13px; color: var(--ink-muted); }
  .admin-table--events td:nth-child(4) { grid-area: status; justify-self: end; }
  .admin-table--events td:nth-child(5) { grid-area: actions; justify-self: end; margin-top: 6px; }

  /* Vendors cards */
  .admin-table--vendors tr {
    display: grid;
    grid-template-columns: auto auto auto 1fr;
    grid-template-areas:
      "name  name  name  name"
      "items avail sold  actions";
    column-gap: 16px;
    row-gap: 8px;
    align-items: end;
    padding: 14px var(--s-4);
    border-bottom: 1px solid var(--line-soft);
  }
  .admin-table--vendors td:nth-child(1) { grid-area: name; font-weight: 500; font-size: 16px; }
  .admin-table--vendors td:nth-child(2) { grid-area: items; }
  .admin-table--vendors td:nth-child(3) { grid-area: avail; }
  .admin-table--vendors td:nth-child(4) { grid-area: sold; }
  .admin-table--vendors td:nth-child(5) { grid-area: actions; justify-self: end; align-self: center; }
  .admin-table--vendors td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 2px;
  }

  /* Vendor header */
  .vendor-header { flex-direction: column; align-items: flex-start; gap: var(--s-3); }
  .vendor-header h3 { font-size: 28px; }

  /* Hours list — keep tight */
  .hours-list { max-width: 100%; }

  /* Selling page upload tweaks */
  .selling-upload { padding: var(--s-5) !important; }
}

/* ─── Small phone (≤480px) ─────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 var(--s-4); }
  .hero { min-height: 520px; }
  .hero-title { font-size: clamp(28px, 9vw, 44px); }
  /* Keep 2 products per row — smaller, cleaner cards */
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
  .product-card { border-radius: var(--radius-sm); }
  .product-meta { padding: var(--s-2) var(--s-3) var(--s-3); gap: 2px; }
  .product-meta .vendor { font-size: 9px; letter-spacing: 0.12em; }
  .product-meta .name { font-size: 13.5px; line-height: 1.2; margin: 1px 0; }
  .product-meta .price { font-size: 13px; margin-top: 2px; }
  .product-image .tag { font-size: 9px; padding: 4px 7px; top: var(--s-2); left: var(--s-2); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .stat-grid { grid-template-columns: 1fr; }
  .home-categories { grid-template-columns: 1fr !important; }
  .home-categories button { aspect-ratio: 16/9 !important; }
  h1 { font-size: 36px; }
  .editorial > section:first-of-type h1 { font-size: clamp(36px, 11vw, 56px) !important; }
}


/* ─── Events ───────────────────────────────────── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
@media (max-width: 1000px) { .events-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .events-grid { grid-template-columns: 1fr; } }

.event-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.event-card:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  box-shadow: 0 14px 36px -18px rgba(31,26,20,0.2);
}
.event-date {
  background: var(--ink);
  color: var(--bg-card);
  padding: var(--s-3);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  position: relative;
}
.event-date::before, .event-date::after {
  content: ""; position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-card);
}
.event-date::before { top: -7px; left: 50%; transform: translateX(-50%); }
.event-date::after { bottom: -7px; left: 50%; transform: translateX(-50%); }
.event-date-month {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 500;
}
.event-date-day {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  margin: 3px 0;
}
.event-date-weekday {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
}
.event-body {
  padding: var(--s-4);
  display: flex; flex-direction: column;
  gap: 6px;
}
.event-tag {
  display: inline-block;
  width: max-content;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.event-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  margin: 3px 0 1px;
}
.event-meta {
  display: flex; flex-wrap: wrap;
  gap: var(--s-3);
  font-size: 12px;
  color: var(--ink-muted);
  font-family: var(--sans);
}
.event-meta span {
  display: inline-flex; align-items: center; gap: 4px;
}
.event-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 4px 0 0;
}

@media (max-width: 480px) {
  /* Events: slimmer, more compact cards */
  .event-card { grid-template-columns: 68px 1fr; }
  .event-date { padding: var(--s-2); }
  .event-date-month { font-size: 9px; letter-spacing: 0.16em; }
  .event-date-day { font-size: 30px; margin: 2px 0; }
  .event-date-weekday { font-size: 8px; }
  .event-body { padding: var(--s-3) var(--s-4); gap: 5px; }
  .event-tag { font-size: 9px; padding: 2px 8px; }
  .event-title { font-size: 17px; margin: 2px 0 1px; }
  .event-meta { gap: var(--s-3); font-size: 11px; }
  .event-desc { font-size: 12.5px; line-height: 1.5; }
}

/* ─── About — section backgrounds ─────────────── */
.about-stats-band {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin: 0 calc(-1 * var(--s-6));
  padding-left: var(--s-6);
  padding-right: var(--s-6);
}
.about-comeon-band {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.92);
  margin: 0 calc(-1 * var(--s-6));
  padding: var(--s-9) var(--s-6) !important;
  border-radius: 0;
}
.about-comeon-band h2 { color: #fff; }
.about-comeon-band .muted { color: rgba(255,255,255,0.65); }
.about-comeon-band .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.about-comeon-band .btn-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.about-comeon-band .btn-primary {
  background: #fff;
  color: var(--ink);
}
.about-comeon-band .btn-primary:hover { background: var(--bg); }

@media (max-width: 768px) {
  .about-stats-band, .about-comeon-band {
    margin: 0 calc(-1 * var(--s-4));
    padding-left: var(--s-4);
    padding-right: var(--s-4);
  }
}

/* Decades Dispatch — newsletter signup */
.dispatch-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: var(--s-9) 0;
  margin-top: var(--s-9);
}
.dispatch-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--s-4);
}
.dispatch-card h2 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  margin: var(--s-3) 0 var(--s-4);
}
.dispatch-blurb {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 46ch;
  margin: 0 auto;
}
.dispatch-form {
  display: flex;
  gap: 10px;
  margin: var(--s-6) auto 0;
  max-width: 460px;
  flex-wrap: wrap;
  justify-content: center;
}
.dispatch-form input {
  flex: 1 1 220px;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}
.dispatch-form input:focus {
  outline: none;
  border-color: var(--ink-soft);
}
.dispatch-error {
  color: var(--terracotta);
  font-size: 13px;
  margin-top: var(--s-3);
}
.dispatch-thanks {
  text-align: center;
  padding: var(--s-6) var(--s-4);
  max-width: 520px;
  margin: 0 auto;
}
.dispatch-thanks h2 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  margin-bottom: 8px;
}
@media (max-width: 480px) {
  .dispatch-form { gap: 8px; }
  .dispatch-form input { flex-basis: 100%; }
  .dispatch-form .btn { width: 100%; }
}
