/* =========================================================
   1) Reset + Tokens
   ========================================================= */
:root {
  --bg: #1a1a1a;
  --paper: #242424;
  --ink: #ffffff;
  --muted: #b0b0b0;   /* FIXED */
  --line: #333333;
  --soft: #2a2a2a;
  --accent: #ffffff;
  --accent-2: #f0c84b;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at top, #8f8f8f 0, var(--bg) 56%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* =========================================================
   2) Layout
   ========================================================= */
.site-shell {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0;
}
.site-header,
.content-card,
.side-card,
.site-footer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.site-header { overflow: hidden; }
.brand {
  display: block;
  padding: 18px 22px 10px;
  text-decoration: none;
}
.brand img {
  width: min(100%, 760px);
  margin: 0 auto;
}
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}
.content-card,
.side-card { padding: clamp(22px, 4vw, 42px); }

/* =========================================================
   3) Navigation
   ========================================================= */
.site-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  background: #111;
}
.nav-link {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,.16);
  transition: background .2s ease, color .2s ease;
}
.nav-link:last-child { border-right: 0; }
.nav-link span { font-weight: 800; letter-spacing: .02em; }
.nav-link small { color: #cfcfcf; font-size: .76rem; }
.nav-link:hover,
.nav-link.is-active {
  background: var(--accent-2);
  color: #111;
}
.nav-link:hover small,
.nav-link.is-active small { color: #333; }

/* =========================================================
   4) Content
   ========================================================= */
.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.15; margin: 0 0 14px; }
h1 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.04em; }
h2 { font-size: 1.35rem; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: #a3a3a3; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.btn-primary { background: #111; color: #fff; }
.btn-secondary { background: var(--accent-2); color: #111; }
.check-list { padding-left: 20px; margin: 0; }
.check-list li { margin-bottom: 10px; }
.price-box,
.contact-panel {
  margin-top: 22px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.price { display: block; font-size: 2.4rem; font-weight: 900; letter-spacing: -.04em; }

/* =========================================================
   5) Listings Page
   ========================================================= */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}
.listing-card {
  min-height: 260px;
  padding: 20px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}
.listing-card h2 { font-size: 1.2rem; margin-top: 8px; }
.listing-card p { color: var(--muted); }
.listing-card a { margin-top: auto; font-weight: 800; }
.listing-category {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* =========================================================
   6) Footer
   ========================================================= */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 18px 22px;
  color: var(--muted);
}
.site-footer p { margin: 0; }
.site-footer a { font-weight: 800; }

/* =========================================================
   7) Responsive
   ========================================================= */
@media (max-width: 900px) {
  .page-grid { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .site-shell { width: min(100% - 18px, var(--max)); padding-top: 10px; }
  .brand { padding: 12px; }
  .site-nav { grid-template-columns: repeat(2, 1fr); }
  .nav-link { min-height: 60px; }
  .listing-grid { grid-template-columns: 1fr; }
  .content-card,
  .side-card { padding: 22px; }
}

/* =========================================================
   8) Gold Accent Glow + Spacing Rhythm
   ========================================================= */

.site-shell {
  padding: 34px 0 42px;
}

.site-header,
.content-card,
.side-card,
.site-footer {
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(240, 200, 75, 0.05);
}

.content-card,
.side-card {
  padding: clamp(28px, 4.5vw, 52px);
}

.page-grid {
  gap: 28px;
  margin-top: 28px;
}

.content-card h1 {
  margin-bottom: 18px;
}

.content-card .lead {
  margin-bottom: 22px;
}

.content-card::before,
.side-card::before {
  content: none;
}

.btn,
.listing-card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.btn:hover,
.listing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 200, 75, 0.55);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 22px rgba(240, 200, 75, 0.16);
}

.btn-primary {
  box-shadow: 0 0 20px rgba(240, 200, 75, 0.18);
}

.nav-link.is-active {
  box-shadow: inset 0 -4px 0 rgba(240, 200, 75, 0.85);
}

.site-footer {
  margin-top: 28px;
}

/* =========================================================
   9) Directory Filters
   ========================================================= */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 28px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.filter-pill:hover,
.filter-pill.is-active {
  transform: translateY(-2px);
  border-color: rgba(240, 200, 75, 0.75);
  background: var(--accent-2);
  color: #111;
  box-shadow: 0 0 18px rgba(240, 200, 75, 0.18);
}

.listing-meta {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.listing-actions {
  margin-top: 16px;
}

.listing-actions a {
  color: var(--accent-2);
  font-weight: 900;
  text-decoration: none;
}

.listing-actions a:hover {
  text-decoration: underline;
}

.empty-state {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}
