/* ============================================
   WSA Outlet — design system
   Grey & taupe palette, industrial-minimal
   ============================================ */

:root {
  /* ---------- NEW PALETTE: greys & taupes ---------- */
  /* Canonical tokens */
  --bone:       #eceae6;
  --paper:      #f2f0eb;   /* page background — softer than bone */
  --card:       #e4e1d9;   /* elevated card surface */
  --linen:      #d8d4ca;   /* deeper taupe */
  --stone:      #9a978f;   /* mid warm grey */
  --smoke:      #5f5d58;   /* body-text grey */
  --charcoal:   #3a3935;   /* dark grey — the new "dark" */
  --ink:        #2e2d29;   /* darkest neutral (never true black) */
  --ink-soft:   #4a4944;   /* secondary text */
  --slate:      #7a7e80;   /* the single accent (slate grey) */
  --slate-soft: #b4b2a9;   /* pale taupe-grey for use on dark surfaces */

  /* ---------- LEGACY TOKEN ALIASES ---------- */
  /* Templates reference these by name via var(--xxx) — keep them resolving,
     but point them at the new grey/taupe values. */
  --moss:       var(--charcoal);       /* was green → now dark grey */
  --moss-dark:  var(--ink);             /* was near-black green → true dark grey */
  --moss-mid:   var(--smoke);           /* was mid green → mid grey */
  --cream:      var(--paper);           /* was warm cream → cool oatmeal */
  --cream-deep: var(--card);            /* was deeper cream → taupe card */
  --rust:       var(--charcoal);        /* was orange → charcoal (no more orange CTAs) */
  --rust-dark:  var(--ink);             /* was deep orange → ink */
  --sage:       var(--slate-soft);      /* was sage green → pale taupe-grey */
  --gold:       var(--slate);           /* was brass → slate accent */
  --line:       #c5c2b8;                /* hairline taupe */
  --line-soft:  #d8d4c9;                /* softer hairline */

  /* Status — muted, desaturated, sit inside the grey family */
  --status-available: #5a6b5e;  /* muted sage-grey */
  --status-sold:      #8a6760;  /* muted russet-grey */
  --status-hold:      #8a7f60;  /* muted umber-grey */

  /* ---------- TYPE ---------- */
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body:    'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;

  /* ---------- LAYOUT ---------- */
  --maxw: 1280px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;      /* tighter, more architectural */
  --radius-lg: 4px;
  --shadow-sm: 0 1px 2px rgba(46, 45, 41, 0.04);
  --shadow:    0 12px 32px -16px rgba(46, 45, 41, 0.15);
  --shadow-lg: 0 24px 60px -24px rgba(46, 45, 41, 0.22);

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--charcoal); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--slate); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.4em;
  font-variation-settings: "opsz" 144, "SOFT" 0;
}
h1 {
  font-size: clamp(2.25rem, 5.2vw, 4.5rem);
  line-height: 0.98;
  font-weight: 300;
  letter-spacing: -0.035em;
}
h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.75rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.012em;
}

em, .italic {
  font-style: italic;
  color: var(--slate);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* Eyebrow — monospaced dash + caps, industrial-editorial tone */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 1.1rem;
  display: inline-block;
  position: relative;
  padding-left: 2.2rem;
}
.eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 1.6rem; height: 1px; background: var(--slate);
}

/* ============ NAV ============ */
.nav {
  background: rgba(242, 240, 235, 0.92);
  backdrop-filter: saturate(130%) blur(10px);
  -webkit-backdrop-filter: saturate(130%) blur(10px);
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.15rem var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex; align-items: center; gap: 0.85rem;
  color: var(--ink);
  font-family: var(--display);
}
.brand:hover { color: var(--slate); }

/* WSA OUTLET framed-mark logo — faithful to the uploaded lockup */
.brand-mark {
  /* Maintains the ~2.5:1 proportions of the source artwork */
  width: 84px;
  height: 62px;
  border: 1.5px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  position: relative;
  padding: 5px 8px;
  font-family: var(--display);
  font-variation-settings: "opsz" 144;
  border-radius: 0;
  line-height: 1;
  flex-shrink: 0;
}
.brand-mark-top {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--charcoal);
}
.brand-mark-bottom {
  font-weight: 400;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--charcoal);
  text-transform: uppercase;
  margin-top: 2px;
}
.brand-mark::after {
  /* horizontal rule between WSA and OUTLET, matching the source lockup */
  content: '';
  position: absolute;
  left: 22%; right: 22%;
  top: 55%;
  height: 1px;
  background: var(--charcoal);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.brand-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.25rem;
}

.nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 2rem;
}
.nav-links a {
  position: relative;
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0;
}
.nav-links a:hover { color: var(--slate); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--slate);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-phone {
  font-family: var(--mono) !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
  text-transform: none !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
  padding: 0 !important;
  background: transparent !important;
}
.nav-phone::before { content: '↗  '; color: var(--slate); }
.nav-phone::after { display: none !important; }
.nav-phone:hover { color: var(--slate) !important; background: transparent !important; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.5rem 0.55rem;
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--charcoal);
  margin: 4px 0; transition: 0.2s;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0;
    padding: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s;
  }
  .nav-links li { width: 100%; border-top: 1px solid var(--line-soft); }
  .nav-links a { display: block; padding: 1rem var(--pad); }
  body.nav-open .nav-links { max-height: 480px; }
}

/* ============ FLASH ============ */
.flash-wrap { max-width: var(--maxw); margin: 1rem auto; padding: 0 var(--pad); }
.flash {
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
  background: var(--card);
  color: var(--charcoal);
  border: 1px solid var(--line);
  border-left: 3px solid var(--slate);
}
.flash-success { border-left-color: var(--status-available); }
.flash-error { border-left-color: var(--status-sold); }

/* ============ HERO ============ */
.hero {
  background: var(--paper);
  color: var(--charcoal);
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad) clamp(3.5rem, 8vw, 7rem);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(122, 126, 128, 0.06), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(58, 57, 53, 0.04), transparent 52%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
}

.hero h1 {
  color: var(--ink);
  max-width: 13ch;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
.hero h1 em {
  font-style: italic;
  color: var(--slate);
  font-weight: 300;
}
.hero-sub {
  font-family: var(--body);
  font-size: 1.05rem;
  color: var(--smoke);
  max-width: 50ch;
  margin: 1.4rem 0 2.25rem;
  line-height: 1.7;
  font-weight: 300;
}
.hero-eyebrow { color: var(--smoke); margin-bottom: 1.5rem; }
.hero-eyebrow::before { background: var(--slate); }

.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center; }

/* Hero deal card */
.hero-card {
  background: var(--card);
  color: var(--charcoal);
  padding: 2rem 1.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid var(--linen);
  pointer-events: none;
  border-radius: 1px;
}
.hero-card > * { position: relative; }

.hero-card-stamp {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.1rem;
  position: relative;
  top: 0; right: 0; background: transparent; padding: 0;
}
.hero-card-stamp::before { content: '— '; color: var(--slate); }

.hero-card h3 {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1.3rem;
}
.hero-card .price {
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 0.7rem;
  line-height: 1;
}
.hero-card .price s {
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--stone);
  font-weight: 400;
  text-decoration-thickness: 1px;
}
.hero-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 1.3rem 0;
  padding: 0;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.hero-card-specs > div {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.hero-card-specs > div:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 0.85rem; }
.hero-card-specs > div:nth-child(even) { padding-left: 0.85rem; }
.hero-card-specs span {
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 400;
}
.hero-card-specs strong {
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.65rem;
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid var(--charcoal);
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.22s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 14px; height: 14px; transition: transform 0.22s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--charcoal); color: var(--paper); border-color: var(--charcoal);
}
.btn-primary:hover { background: var(--slate); border-color: var(--slate); color: var(--paper); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }

.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { background: var(--slate); color: var(--paper); border-color: var(--slate); }

.btn-ghost {
  background: transparent; color: var(--charcoal);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--card); border-color: var(--charcoal); color: var(--ink); }

.btn-small {
  padding: 0.5rem 0.95rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
}

/* ============ SECTIONS ============ */
section { padding: clamp(3rem, 7vw, 6rem) var(--pad); background: var(--paper); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }

.section-head {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: end;
  margin-bottom: 3rem;
}
.section-head h2 { max-width: 18ch; margin-bottom: 0; }
.section-head p { color: var(--smoke); font-size: 1rem; max-width: 46ch; padding-bottom: 0.4rem; }
@media (max-width: 700px) { .section-head { grid-template-columns: 1fr; gap: 1rem; } }

/* ============ CATEGORY STRIP ============ */
.category-strip {
  background: var(--card);
  padding: clamp(2rem, 4vw, 3.5rem) var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.category-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.category-card {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background 0.25s var(--ease);
  cursor: pointer;
  background: var(--card);
  color: var(--charcoal);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.3rem;
}
.category-card:last-child { border-right: 0; }
.category-card:hover { background: var(--paper); }
.category-card svg {
  width: 38px; height: 38px;
  margin: 0 auto 0.8rem;
  color: var(--charcoal);
  transition: color 0.25s var(--ease);
  stroke-width: 1.25;
}
.category-card:hover svg { color: var(--slate); }
.category-card .label {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.15rem;
  letter-spacing: -0.015em;
}
.category-card:hover .label { color: var(--slate); font-style: italic; }
.category-card .count {
  font-family: var(--body);
  font-size: 0.72rem;
  color: var(--smoke);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}
@media (max-width: 800px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card { border-bottom: 1px solid var(--line); }
  .category-card:nth-child(odd) { border-right: 1px solid var(--line); }
  .category-card:nth-child(even) { border-right: 0; }
}

/* ============ PRODUCT GRID ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s var(--ease);
  display: flex; flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--stone);
}
.product-card.sold { opacity: 0.72; }
.product-card.sold::after {
  content: 'SOLD';
  position: absolute; top: 20px; left: -42px;
  background: var(--status-sold); color: var(--paper);
  font-family: var(--mono); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.28em;
  padding: 0.3rem 3rem;
  transform: rotate(-30deg);
  z-index: 2;
  pointer-events: none;
}
.product-image {
  aspect-ratio: 4 / 3;
  background: var(--card);
  display: grid; place-items: center;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-image-placeholder {
  color: var(--stone);
  font-family: var(--display);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.product-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--mono);
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.product-badge.new { background: var(--paper); color: var(--charcoal); border-color: var(--line); }
.product-badge.used { background: var(--card); color: var(--smoke); border-color: var(--line); }
.product-badge.scratch { background: var(--paper); color: var(--slate); border-color: var(--slate); }

.product-body { padding: 1.15rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-brand {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 0.35rem;
}
.product-title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.22;
  margin-bottom: 0.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.product-title a { color: inherit; }
.product-title a:hover { color: var(--slate); }
.product-meta {
  font-family: var(--body);
  font-size: 0.82rem;
  color: var(--smoke);
  margin-bottom: 0.9rem;
  display: flex; gap: 0.6rem; align-items: center;
}
.product-meta .dot { width: 3px; height: 3px; background: var(--stone); border-radius: 50%; }

.product-price-row {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.product-price {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.product-price s {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--stone);
  font-weight: 400;
  margin-top: 0.25rem;
  text-decoration-thickness: 1px;
}
.product-view {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.product-card:hover .product-view { color: var(--slate); }

/* ============ INVENTORY FILTERS ============ */
.filter-bar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: end;
}
@media (max-width: 800px) { .filter-bar { grid-template-columns: 1fr 1fr; } }
.filter-field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--smoke);
  margin-bottom: 0.5rem;
}
.filter-field input, .filter-field select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--body); font-size: 0.92rem;
  font-weight: 400;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}
.filter-field input:focus, .filter-field select:focus {
  outline: 0; border-color: var(--charcoal);
}

.inventory-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 1.2rem; padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line-soft);
}
.inventory-count { font-family: var(--mono); font-size: 0.8rem; color: var(--smoke); letter-spacing: 0.06em; }
.inventory-count strong { color: var(--ink); font-weight: 500; }

/* ============ PRODUCT DETAIL ============ */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: 2rem;
}
@media (max-width: 820px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail-image {
  aspect-ratio: 4 / 3;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid; place-items: center;
}
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem;
  margin-top: 0.6rem;
}
.product-gallery img {
  aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); cursor: pointer;
  border: 1px solid var(--line); transition: border-color 0.2s;
}
.product-gallery img:hover { border-color: var(--charcoal); }

.detail-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.65rem; font-weight: 400; letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
}
.detail-status.available { color: var(--status-available); }
.detail-status.sold { color: var(--status-sold); }
.detail-status.hold { color: var(--status-hold); }
.detail-status .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.detail-title { margin-bottom: 0.5rem; }
.detail-brand {
  font-family: var(--display);
  color: var(--smoke);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin-bottom: 0.6rem;
}
.detail-price {
  font-family: var(--display);
  font-size: 2.5rem; font-weight: 300;
  color: var(--ink);
  margin: 1rem 0;
  line-height: 1;
  letter-spacing: -0.035em;
}
.detail-price s {
  font-family: var(--mono);
  font-size: 1rem; color: var(--stone); font-weight: 400;
  margin-left: 0.8rem;
}
.detail-desc {
  font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft);
  margin-bottom: 1.8rem;
  font-weight: 300;
}

.spec-table {
  width: 100%; border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-table tr { border-bottom: 1px solid var(--line-soft); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th, .spec-table td { padding: 0.85rem 1rem; text-align: left; font-size: 0.9rem; }
.spec-table th {
  font-family: var(--mono);
  font-weight: 400;
  color: var(--smoke);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  width: 38%;
  background: transparent;
}
.spec-table td { color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 0.95rem; }

.feature-list {
  list-style: none; padding: 0; margin: 1.5rem 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.5rem;
}
.feature-list li {
  padding-left: 1.4rem; position: relative;
  font-size: 0.92rem; color: var(--ink-soft);
  font-weight: 300;
}
.feature-list li::before {
  content: '—';
  position: absolute; left: 0; top: 0;
  color: var(--slate);
  font-family: var(--mono);
  font-weight: 400;
}

/* ============ ABOUT / SPLIT ============ */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split-image {
  background: var(--charcoal);
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.split-image::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, transparent 0%, rgba(122, 126, 128, 0.1) 100%),
    repeating-linear-gradient(45deg, transparent, transparent 28px, rgba(255,255,255,0.015) 28px, rgba(255,255,255,0.015) 29px);
}
.split-image::after {
  /* inset border, museum-plate feel */
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(180, 178, 169, 0.25);
  pointer-events: none;
}
.split-image-label {
  position: absolute; bottom: 2rem; left: 2rem; right: 2rem;
  color: var(--paper);
  font-family: var(--display);
  z-index: 2;
}
.split-image-label em { color: var(--slate-soft); font-style: italic; }
.split-image-label .big {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.split-image-label .small {
  color: var(--slate-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin-top: 0.75rem;
  font-weight: 400;
}

/* Stats row */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 3rem 0 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat {
  background: transparent;
  padding: 1.8rem 1.4rem;
  text-align: left;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-num {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.035em;
}
.stat-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: 0.75rem;
}
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* ============ PROMISE / WHY (dark band) ============ */
.promise {
  background: var(--charcoal);
  color: var(--paper);
  padding: clamp(3.5rem, 7vw, 6.5rem) var(--pad);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.promise .eyebrow { color: var(--slate-soft); }
.promise .eyebrow::before { background: var(--slate-soft); }
.promise h2 { color: var(--paper); max-width: 18ch; }
.promise h2 em { color: var(--slate-soft); }
.promise-grid {
  max-width: var(--maxw); margin: 3rem auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(180, 178, 169, 0.3);
}
@media (max-width: 820px) {
  .promise-grid { grid-template-columns: 1fr; }
  .promise-item { border-right: 0 !important; border-bottom: 1px solid rgba(180,178,169,0.3); padding: 2rem 0 !important; }
}
.promise-item {
  border-right: 1px solid rgba(180, 178, 169, 0.3);
  padding: 2.2rem 2rem 2.2rem 0;
}
.promise-item:nth-child(2) { padding-left: 2rem; }
.promise-item:last-child { border-right: 0; padding-left: 2rem; padding-right: 0; }
.promise-item-num {
  font-family: var(--mono);
  font-weight: 400;
  color: var(--slate-soft);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  margin-bottom: 1.4rem;
}
.promise-item h3 {
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  letter-spacing: -0.015em;
}
.promise-item h3 em, .promise-item em { color: var(--slate-soft); }
.promise-item p {
  color: var(--linen);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  opacity: 0.88;
}

.promise .stats-row {
  margin-top: 4rem;
  border-color: rgba(180, 178, 169, 0.3);
  border-left-color: rgba(180, 178, 169, 0.3);
}
.promise .stat {
  border-right-color: rgba(180, 178, 169, 0.3);
  border-bottom-color: rgba(180, 178, 169, 0.3);
}
.promise .stat-num { color: var(--paper); }
.promise .stat-label { color: var(--slate-soft); }

/* ============ CTA STRIP ============ */
.cta-strip {
  background: var(--card);
  color: var(--charcoal);
  padding: clamp(3rem, 5vw, 4.5rem) var(--pad);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-strip h2 {
  color: var(--ink);
  margin-bottom: 1.1rem;
  font-weight: 300;
}
.cta-strip p {
  color: var(--smoke);
  max-width: 52ch; margin: 0 auto 1.9rem;
  font-size: 1.02rem;
  font-weight: 300;
}
.cta-strip .btn-primary { background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); }
.cta-strip .btn-primary:hover { background: var(--slate); border-color: var(--slate); }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--linen);
  padding: clamp(3rem, 5vw, 5rem) var(--pad) 2rem;
}
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(180, 178, 169, 0.2);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 400;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--paper);
  margin-bottom: 1.1rem;
}
.footer-brand .brand-mark {
  border-color: var(--paper);
  color: var(--paper);
}
.footer-brand .brand-mark::after { background: var(--paper); }
.footer-brand .brand-mark-top { color: var(--paper); }
.footer-brand .brand-mark-bottom { color: var(--paper); }
.footer-brand .brand-name { font-family: var(--display); font-size: 1.1rem; font-weight: 500; color: var(--paper); }
.footer-blurb {
  font-size: 0.92rem; line-height: 1.7; max-width: 34ch;
  color: var(--linen); opacity: 0.82;
  font-weight: 300;
}
.footer address { font-style: normal; font-size: 0.92rem; line-height: 1.8; color: var(--linen); opacity: 0.85; font-weight: 300; }
.footer address a { color: var(--paper); }
.footer-links, .hours { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: var(--linen); font-size: 0.92rem; opacity: 0.85; font-weight: 300; }
.footer-links a:hover { color: var(--paper); opacity: 1; }

/* Base .hours — light-surface styling (used on contact page) */
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--mono);
  font-size: 0.8rem; margin-bottom: 0.5rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.hours span:first-child { color: var(--ink); }
.hours span:last-child { color: var(--smoke); }

/* Dark-surface override — used inside the footer */
.footer .hours li { color: var(--linen); opacity: 0.85; }
.footer .hours span:first-child { color: var(--paper); opacity: 1; }
.footer .hours span:last-child { color: var(--linen); }

.footer-bottom {
  max-width: var(--maxw); margin: 2rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.footer-bottom a { color: var(--stone); }
.footer-bottom a:hover { color: var(--paper); }

/* ============ ADMIN ============ */
.admin-login {
  min-height: 75vh;
  display: grid; place-items: center;
  padding: 3rem var(--pad);
  background:
    radial-gradient(circle at 30% 20%, rgba(58, 57, 53, 0.05), transparent 60%),
    var(--paper);
}
.admin-login-card {
  width: 100%; max-width: 420px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.admin-login-card .brand-mark { margin: 0 0 1rem; }

.admin-shell { max-width: var(--maxw); margin: 0 auto; padding: 2.5rem var(--pad); }
.admin-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
}
.admin-top h1 { font-size: 2rem; margin: 0; font-weight: 300; }

.admin-nav {
  display: flex; gap: 1.75rem; flex-wrap: wrap;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line-soft);
}
.admin-nav a {
  padding: 0.75rem 0;
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--smoke);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.18s var(--ease);
}
.admin-nav a.active, .admin-nav a:hover {
  color: var(--ink);
  border-color: var(--slate);
}

.admin-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-bottom: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 700px) { .admin-stats { grid-template-columns: repeat(2, 1fr); } }
.admin-stat {
  background: var(--card);
  padding: 1.5rem 1.4rem;
  border-right: 1px solid var(--line);
}
.admin-stat:last-child { border-right: 0; }
.admin-stat-num {
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.admin-stat-label {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: 0.55rem;
  font-weight: 400;
}

.admin-table-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.admin-table th {
  background: var(--card);
  padding: 0.9rem 1rem;
  text-align: left;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: var(--card); }
.admin-thumb {
  width: 54px; height: 40px;
  background: var(--linen);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid; place-items: center;
  color: var(--stone);
  font-family: var(--display); font-style: italic;
  font-size: 0.8rem;
}
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }

.status-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  font-family: var(--mono);
  font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: transparent;
  border-radius: var(--radius);
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill.available { color: var(--status-available); }
.status-pill.sold { color: var(--status-sold); }
.status-pill.hold { color: var(--status-hold); }

.status-select {
  padding: 0.38rem 0.55rem;
  font-family: var(--body);
  font-size: 0.82rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
}
.status-select:focus { outline: 0; border-color: var(--charcoal); }

/* Upload */
.upload-zone {
  background: var(--card);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.22s var(--ease);
  cursor: pointer;
  display: block;
  /* Reset any text-transform / letter-spacing inherited from parent label rules */
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}
.upload-zone:hover, .upload-zone.drag {
  border-color: var(--charcoal);
  background: var(--linen);
}
.upload-zone svg { width: 38px; height: 38px; color: var(--charcoal); margin: 0 auto 1rem; stroke-width: 1.25; }
.upload-zone-title {
  font-family: var(--display);
  font-size: 1.25rem; font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.upload-zone-sub {
  color: var(--smoke);
  font-family: var(--body);
  font-size: 0.88rem;
  font-weight: 300;
}
.upload-zone input { display: none; }
.upload-zone-filename {
  display: inline-block;
  margin-top: 0.9rem;
  padding: 0.3rem 0.85rem;
  background: var(--paper);
  border-radius: var(--radius);
  font-family: var(--mono); font-size: 0.82rem;
  color: var(--ink);
  border: 1px solid var(--line);
}

.form-row { margin-bottom: 1.35rem; }
.form-row > label {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem; font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-bottom: 0.5rem;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--body); font-size: 0.95rem;
  font-weight: 400;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}
.form-row textarea { min-height: 110px; resize: vertical; font-family: var(--body); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 0; border-color: var(--charcoal);
}
.form-row .hint {
  font-family: var(--body);
  font-size: 0.82rem; color: var(--smoke);
  margin-top: 0.4rem;
  font-weight: 300;
}

.radio-group { display: flex; gap: 0.85rem; }
.radio-group label {
  flex: 1;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  display: block;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0;
  transition: all 0.18s var(--ease);
}
.radio-group input[type="radio"] { margin-right: 0.5rem; accent-color: var(--charcoal); }
.radio-group label:has(input:checked) {
  border-color: var(--charcoal);
  background: var(--card);
}

/* Two-col admin layout */
.admin-grid-2 {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem;
}
@media (max-width: 900px) { .admin-grid-2 { grid-template-columns: 1fr; } }

.admin-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.admin-card h3 {
  margin-top: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}
.admin-card code {
  background: var(--card);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius);
  font-size: 0.86rem;
  color: var(--ink);
}

/* Empty state */
.empty {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px dashed var(--line);
}
.empty h3 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.015em;
}
.empty p { color: var(--smoke); max-width: 44ch; margin: 0.7rem auto 1.5rem; font-weight: 300; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============ UTILITIES ============ */
.mt-sm { margin-top: 0.8rem; }
.mt-md { margin-top: 1.6rem; }
.mt-lg { margin-top: 2.4rem; }
.text-center { text-align: center; }
.muted { color: var(--smoke); font-weight: 300; }
