:root {
  --navy: #001020;
  --ink: #1B2A4A;
  --text: #1a1a1a;
  --muted: #5A6570;
  --line: #C5CDD8;
  --bg: #F4F6F8;
  --card: #ffffff;
  --draft: #8A5A00;
  --draft-bg: #F8E6B8;
  --cyan: #00A0C8;
  --ok: #1B5A32;
  --ok-bg: #E6F4EA;
  --err: #8A1A1A;
  --err-bg: #F8E6E6;
  --tap: 44px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  font-size: 16px;
  overflow-x: hidden;
  min-width: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--cyan); }

.draft-banner {
  background: var(--draft-bg);
  color: var(--draft);
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-bottom: 2px solid #E0C070;
}

header { background: var(--navy); color: #fff; }
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}
.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
}
.brand-link:hover { color: #fff; }
.brand-site {
  color: #C5CDD8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
}
.brand-site:hover,
.brand-site:focus-visible { color: #fff; }
header img.logo { width: 40px; height: 40px; flex-shrink: 0; }
header .brand { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.site-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  display: block;
}
/* h1 used on the home header for the site title */
header h1 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; color: #fff; }
.tagline, header p {
  margin: 0;
  color: #C5CDD8;
  font-size: 12px;
  display: block;
}
/* Keep the header to one line: the tagline is already in the page intro. */
header .tagline { display: none; }

/* Desktop nav */
.nav-toggle {
  display: none;
  width: var(--tap);
  height: var(--tap);
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
}
.site-nav { margin-left: auto; flex: 1 1 auto; min-width: 0; }
.site-nav > ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav > ul > li.nav-contact { margin-left: 6px; }
.nav-short { display: none; }
.site-nav a {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 7px;
  min-height: 36px;
  border-radius: 4px;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(255,255,255,0.12);
  outline: none;
}
.site-nav a[aria-current="page"] {
  background: rgba(255,255,255,0.16);
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 24px 16px 64px; }
.intro { max-width: 640px; margin: 0 0 24px; }
.intro h2 { margin: 0 0 8px; font-size: 22px; color: var(--ink); }
.intro p { margin: 0 0 8px; color: var(--muted); }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.filter-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  min-height: var(--tap);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  min-width: 0;
}
.card:hover { border-color: var(--ink); color: inherit; }
.card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.card-link:hover { color: inherit; }
.card-buy {
  margin: 0;
  padding: 0 16px 16px;
}
.card-buy .btn {
  width: 100%;
  min-height: 44px;
  font-size: 15px;
}
.card:has(.card-buy) .body { padding-bottom: 8px; }
.card.is-hidden { display: none; }
.card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}
.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--draft-bg);
  color: var(--draft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
}
.badge-available {
  background: #0E756E;
  color: #fff;
}
.badge-firesale {
  background: #8A3B12;
  color: #FFF6E8;
}
.card .badge-firesale {
  top: 34px;
  left: 10px;
  max-width: calc(100% - 20px);
  line-height: 1.2;
  white-space: normal;
}
.item-meta .badge-firesale {
  position: static;
  display: inline-block;
  margin: 0 8px 10px 0;
  vertical-align: top;
  white-space: normal;
}
.firesale {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: #8A3B12;
}
.item-meta .badge,
.item-meta .badge-available {
  position: static;
  display: inline-block;
  margin: 0 8px 10px 0;
  vertical-align: top;
}
.cat-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: #E8EEF4;
  padding: 3px 8px;
  border-radius: 3px;
  margin: 0 0 8px;
}
.card .body, .item-meta { padding: 14px 16px 16px; }
.card h3 { margin: 0 0 6px; font-size: 16px; color: var(--ink); }
.card .cond { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.price { margin: 0; font-size: 20px; font-weight: 700; color: var(--ink); }
.ship { margin: 4px 0 0; font-size: 12px; color: var(--muted); }

.empty-cat {
  display: none;
  background: #fff;
  border: 1px dashed var(--line);
  padding: 20px 16px;
  color: var(--muted);
  border-radius: 6px;
}
.empty-cat.is-visible { display: block; }

footer {
  background: var(--navy);
  color: #C5CDD8;
  padding: 24px 16px;
  text-align: center;
  font-size: 14px;
}
footer a { color: #fff; }
footer .note { margin-top: 8px; font-size: 12px; color: #8A93A0; }

.crumb { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.crumb a { color: var(--ink); }
.item {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}
.gallery .hero {
  border: 1px solid var(--line);
  background: #fff;
  margin-bottom: 8px;
}
.gallery .hero img { width: 100%; }
.thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.thumbs button {
  border: 2px solid var(--line);
  padding: 0;
  background: #fff;
  cursor: pointer;
  width: var(--tap);
  height: var(--tap);
  min-width: var(--tap);
  min-height: var(--tap);
  overflow: hidden;
}
.thumbs button.active, .thumbs button:hover { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.item-meta .badge { position: static; display: inline-block; margin-bottom: 10px; }
.item-meta h2 { margin: 0 0 8px; font-size: 24px; color: var(--ink); }
.item-meta ul { margin: 12px 0; padding: 0 0 0 18px; }
.item-meta li { margin: 0 0 6px; }
.contact-box {
  margin-top: 18px;
  padding: 14px;
  background: var(--bg);
  border-left: 3px solid var(--cyan);
}
.contact-box p { margin: 0 0 10px; font-size: 14px; }
.contact-box p:last-child { margin-bottom: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  width: auto;
}
.btn:hover, .btn:focus-visible { background: var(--navy); color: #fff; outline: none; }

/* Contact form */
.contact-form {
  max-width: 560px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px 16px;
}
.field { margin: 0 0 16px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  font-size: 16px; /* 16px prevents iOS zoom on focus */
  padding: 12px 12px;
  min-height: var(--tap);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 1px;
  border-color: var(--ink);
}
.field-help { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.field-actions { margin: 20px 0 0; }
.field-actions .btn { width: 100%; }

.form-status {
  max-width: 560px;
  padding: 14px 16px;
  border-radius: 6px;
  margin: 0 0 20px;
}
.form-status p { margin: 0 0 8px; }
.form-status p:last-child { margin-bottom: 0; }
.form-status ul { margin: 8px 0 0; padding: 0 0 0 18px; }
.form-status-ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #B7DCC4; }
.form-status-err { background: var(--err-bg); color: var(--err); border: 1px solid #E0B0B0; }

/* Honeypot: visually hidden, still in the tab order skip list */
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .tagline { display: none; }
  header img.logo { width: 36px; height: 36px; }
  .header-inner { padding: 8px 12px; flex-wrap: nowrap; position: relative; }
  .item { grid-template-columns: 1fr; }
  .item-meta h2 { font-size: 22px; }
  .grid { grid-template-columns: 1fr; }
  .wrap { padding: 20px 12px 56px; }
}

/* Below 1024px: compact hamburger. No wrapped/orphaned nav items. */
@media (max-width: 1023px) {
  .tagline { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    margin: 0;
    flex-basis: 100%;
    width: 100%;
    order: 3;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  header.is-open .header-inner { flex-wrap: wrap; }
  header.is-open .site-nav { display: block; }
  .site-nav > ul {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
  }
  .site-nav > ul > li.nav-contact { margin-left: 0; }
  .site-nav a {
    width: 100%;
    min-height: 48px;
    padding: 12px 8px;
    font-size: 16px;
    border-radius: 0;
  }
}

@media (min-width: 768px) {
  .header-inner { padding: 10px 20px; }
  .wrap { padding: 28px 20px 64px; }
  .field-actions .btn { width: auto; min-width: 180px; }
}

/* Desktop: one compact nav row. 1024–1279 uses shorter category labels. */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .header-inner { flex-wrap: nowrap; padding: 8px 16px; }
  header img.logo { width: 40px; height: 40px; }
  .site-title, header h1 { font-size: 18px; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .site-nav > ul > li > a .nav-full { display: none; }
  .site-nav > ul > li > a .nav-short { display: inline; }
  .site-nav a,
  .nav-sub-toggle {
    font-size: 13px;
    padding: 6px 5px;
    min-height: 36px;
  }
}

@media (min-width: 1280px) {
  header img.logo { width: 48px; height: 48px; }
  .header-inner { padding: 10px 20px; }
  .site-title, header h1 { font-size: 20px; }
}

@media (max-width: 379px) {
  .site-title, header h1 { font-size: 17px; }
}

/* Shop submenu */
.has-sub { position: relative; }
.nav-sub-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  background: transparent;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 7px;
  min-height: 36px;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-sub-toggle:hover,
.nav-sub-toggle:focus-visible,
.has-sub.is-open > .nav-sub-toggle {
  color: #fff;
  background: rgba(255,255,255,0.12);
  outline: none;
}
.nav-sub {
  display: none;
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.has-sub.is-open > .nav-sub { display: block; }
.nav-sub a {
  font-weight: 600;
}
.nav-sub .soon,
.btn .soon,
.badge-soon {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 8px;
  color: inherit;
  opacity: 0.8;
}

/* Disabled-looking placeholders (eBay / Marketplace links not live yet) */
a.is-placeholder,
a.btn-placeholder,
a.card-placeholder {
  cursor: not-allowed;
  text-decoration: none;
}
.site-nav a.is-placeholder {
  color: rgba(255,255,255,0.55);
}
.site-nav a.is-placeholder:hover,
.site-nav a.is-placeholder:focus-visible {
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06);
}
.btn-placeholder {
  background: #E8EEF4;
  color: var(--muted);
  border: 1px dashed var(--line);
  font-weight: 700;
}
.btn-placeholder:hover,
.btn-placeholder:focus-visible {
  background: #E8EEF4;
  color: var(--muted);
  outline: none;
}
.card-placeholder {
  border-style: dashed;
  background: #fff;
  cursor: not-allowed;
}
.card-placeholder:hover { border-color: var(--line); color: inherit; }
.badge-soon {
  position: absolute;
  top: 10px;
  left: 10px;
  margin-left: 0;
  background: #E8EEF4;
  color: var(--muted);
  padding: 3px 8px;
  opacity: 1;
}

/* SOLD badge — hidden by default. Add class "is-sold" to the card or .item-meta to show it. */
.badge-sold {
  display: none;
  background: #6B1C1C;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
}
.card .badge-sold {
  position: absolute;
  top: 10px;
  right: 10px;
}
.item-meta .badge-sold {
  position: static;
  margin: 0 8px 10px 0;
  vertical-align: top;
}
.is-sold .badge-sold { display: inline-block; }
.is-spoken-for .badge-sold { display: inline-block; }
.badge-sale-pending {
  background: #6B4E16;
  color: #FFF6E8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
}
.card .badge-sale-pending {
  position: absolute;
  top: 10px;
  left: 10px;
}
.item-meta .badge-sale-pending {
  position: static;
  display: inline-block;
  margin: 0 8px 10px 0;
  vertical-align: top;
}

.pickup-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.buy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.buy-actions .btn {
  flex: 1 1 160px;
  text-align: center;
}

.shop-all {
  margin-top: 40px;
  padding-top: 8px;
  max-width: 100%;
}
.shop-all h2 {
  margin: 0 0 8px;
  font-size: 22px;
  color: var(--ink);
}
.shop-all > p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 640px;
}
.shop-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.shop-grid .card .body { padding-top: 16px; }
.shop-grid .card-placeholder .body { padding-top: 44px; }

@media (min-width: 1024px) {
  .nav-sub {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 260px;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 4px;
    z-index: 30;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  }
  .nav-sub a {
    width: 100%;
    border-radius: 0;
    white-space: normal;
  }
}

@media (max-width: 1023px) {
  .nav-sub-toggle {
    width: 100%;
    min-height: 48px;
    padding: 12px 8px;
    font-size: 16px;
    border-radius: 0;
    justify-content: space-between;
  }
  .nav-sub-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin-right: 6px;
    opacity: 0.8;
  }
  .has-sub.is-open > .nav-sub-toggle::after { transform: rotate(-135deg); }
  .nav-sub {
    padding: 0 0 6px 12px;
    background: rgba(0,0,0,0.2);
  }
  .nav-sub a {
    width: 100%;
    min-height: 48px;
    padding: 12px 8px;
    font-size: 16px;
    border-radius: 0;
    white-space: normal;
  }
  .buy-actions .btn { flex: 1 1 100%; }
}


/* Shop dropdown — high-specificity overrides so the flex top nav cannot flatten it */
.site-nav ul.nav-sub {
  display: none;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #001020;
}
.site-nav .has-sub.is-open > ul.nav-sub {
  display: flex;
}
.site-nav ul.nav-sub a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  white-space: normal;
  line-height: 1.25;
  width: 100%;
  color: #fff;
}
.site-nav ul.nav-sub a.is-placeholder {
  color: rgba(255,255,255,0.8);
}
.site-nav ul.nav-sub .soon {
  display: block;
  margin-left: 0;
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.75;
}
.buy-actions .btn {
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}
.buy-actions .btn .soon {
  margin-left: 0;
}

@media (min-width: 1024px) {
  .site-nav ul.nav-sub {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: 260px;
    min-width: 260px;
    background: #001020;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 4px;
    z-index: 40;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    padding: 8px 0;
  }
  .site-nav ul.nav-sub a {
    padding: 10px 14px;
    min-height: 48px;
    border-radius: 0;
  }
}


/* Photo source tags: CSS overlay only, not burned into the image files. */
.photo {
  position: relative;
}
.photo-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  padding: 3px 7px;
  border-radius: 2px;
  pointer-events: none;
  max-width: calc(100% - 16px);
  white-space: normal;
}
.thumbs button {
  position: relative;
}
.thumbs .photo-tag {
  top: 4px;
  left: 4px;
  font-size: 9px;
  padding: 2px 5px;
  max-width: calc(100% - 8px);
  white-space: normal;
}


/* Keep Shop / Listings dropdowns visible at 1024px. */
html, body { overflow-x: clip; }
header { overflow: visible; position: relative; z-index: 80; }
.header-inner,
.site-nav,
.site-nav > ul { overflow: visible; }

.filter-btn.is-hidden { display: none !important; }
