:root {
  --bg: #0f0d0a;
  --bg-soft: #171411;
  --panel: rgba(255, 248, 235, 0.06);
  --panel-strong: rgba(255, 248, 235, 0.08);
  --text: #f7f1e6;
  --muted: #cbbfae;
  --line: rgba(232, 205, 146, 0.18);
  --gold: #e7c977;
  --gold-strong: #f0d999;
  --accent: #a8791f;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at top, rgba(231, 201, 119, 0.1), transparent 30%),
    linear-gradient(180deg, #0f0d0a, #14110d 40%, #0f0d0a 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

.site-shell { min-height: 100vh; }
.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
}
.topbar {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(15, 13, 10, 0.72);
}
.brand-wrap { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.brand, h1, h2, h3 {
  /* font-family: 'Cormorant Garamond', Georgia, serif; */
  letter-spacing: 0.01em;
}
.brand {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-strong);
}
.brand-tag, .section-kicker, .eyebrow, .section-note, .tiny-note, .footer-note {
  color: var(--muted);
}
.topnav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.96rem;
}
.topnav a:hover { color: var(--gold); }

.hero {
  padding-top: 34px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}
.hero-copy, .hero-visual, .panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-copy {
  padding: 42px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.7rem);
  line-height: 0.96;
  margin: 0 0 14px;
}
.hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #f2e6d2;
  max-width: 62ch;
}
.eyebrow, .section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  margin-bottom: 12px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}
.point-chip, .tag, .badge, .area-pill, .shortcut-card span {
  border: 1px solid rgba(231, 201, 119, 0.2);
  background: rgba(231, 201, 119, 0.08);
  color: #f7e9c2;
}
.point-chip, .tag, .area-pill {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
}
.hero-actions, .cta-actions, .card-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #d5a946);
  color: #261a05;
}
.btn-secondary, .btn-mini {
  background: transparent;
  color: var(--text);
  border-color: rgba(231, 201, 119, 0.25);
}
.btn-mini {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.92rem;
}

.hero-visual { padding: 16px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  height: 100%;
}
.hero-grid img {
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
}
.hero-grid img:first-child { grid-column: 1 / -1; min-height: 250px; }

.panel { padding: 26px; }
.intro-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: center;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}
.section-head h2, .intro-panel h2, .panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}
.section-head p, .panel p { line-height: 1.7; }
.shortcut-grid, .listing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.shortcut-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
}
.shortcut-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}
.shortcut-card button {
  margin-top: 14px;
  background: none;
  border: none;
  padding: 0;
  color: var(--gold-strong);
  font: inherit;
  cursor: pointer;
}

.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 14px;
  margin-bottom: 18px;
}
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-group label { font-size: 0.9rem; color: var(--muted); }
.field-group input, .field-group select {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  padding: 0 14px;
}
.actions-group { justify-content: end; }
.results-meta {
  color: var(--muted);
  margin: 8px 2px 16px;
}

.listing-card {
  overflow: hidden;
  padding: 0;
}
.card-media-wrap { position: relative; }
.card-media {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card-badges {
  position: absolute;
  inset: 14px auto auto 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  backdrop-filter: blur(8px);
}
.card-body { padding: 20px; }
.card-title {
  font-size: 1.9rem;
  margin: 0 0 6px;
}
.card-category, .card-area, .card-address, .card-hours {
  color: var(--muted);
}
.card-description { margin: 12px 0; }
.tag-row, .social-row, .contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.contact-chip, .social-link {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  font-size: 0.87rem;
}
.social-link:hover, .contact-chip:hover { border-color: rgba(231, 201, 119, 0.35); }
.card-actions { margin-top: 16px; }

.info-band .two-col, .footer-grid, .acquisition-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.bullet-list {
  margin: 0;
  padding-left: 18px;
}
.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cta-panel, .acquisition-panel {
  align-items: center;
}
.stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-grid { align-items: start; }
.footer { padding-bottom: 50px; }
.footer-brand { display: inline-block; margin-bottom: 12px; }
.hidden { display: none !important; }
.empty-state {
  border: 1px dashed rgba(231, 201, 119, 0.22);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,0.025);
}

@media (max-width: 1080px) {
  .hero,
  .intro-panel,
  .info-band .two-col,
  .footer-grid,
  .acquisition-panel {
    grid-template-columns: 1fr;
  }
  .shortcut-grid,
  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar,
  .section { width: min(var(--max), calc(100% - 20px)); }
  .topbar { position: static; padding-top: 16px; }
  .hero-copy, .panel { padding: 22px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid img:first-child { grid-column: auto; }
  .filters,
  .shortcut-grid,
  .listing-grid { grid-template-columns: 1fr; }
  .topnav { display: none; }
  .brand { font-size: 1.75rem; }
  .card-title { font-size: 1.6rem; }
}



/* Patch: form/select contrast */
select,
select option,
.filter-select,
.search-select {
  color: #1f1a14;
  background: #ffffff;
}
select:invalid {
  color: #6b6256;
}
select option[value=""] {
  color: #6b6256;
}

/* Patch: compact hero for faster above-the-fold listings */
.hero,
.hero-section,
.site-hero {
  padding-top: 48px !important;
  padding-bottom: 32px !important;
}
.hero-media,
.hero-images,
.hero-gallery {
  display: none !important;
}
.hero-icon-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  margin-bottom: 8px;
}
.hero-icon-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(180, 145, 70, 0.22);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.95rem;
}
.hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(208,168,84,0.18), rgba(123,91,24,0.12));
  border: 1px solid rgba(180,145,70,0.25);
  font-size: 0.95rem;
  line-height: 1;
}

/* remove empty spacing from any old badge containers */
.hero-badges,
.hero-highlights,
.hero-meta {
  display: none !important;
}

@media (max-width: 860px) {
  .hero-icon-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .hero-icon-strip {
    grid-template-columns: 1fr;
  }
}


/* Final patch: compact hero without large image block */
.hero,
.hero.section,
.site-hero {
  grid-template-columns: 1fr !important;
  gap: 18px !important;
  padding-top: 24px !important;
  padding-bottom: 18px !important;
}

.hero-copy {
  padding: 28px !important;
}

.hero-visual,
.hero-grid,
#heroGrid {
  display: none !important;
}

.hero-subtitle {
  max-width: 72ch;
}

.hero-icon-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 10px;
}

.hero-icon-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(214, 177, 82, 0.30);
  background: linear-gradient(180deg, rgba(44, 35, 20, 0.98), rgba(24, 20, 14, 0.98));
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

.hero-icon-badge {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0d37a, #b88a2d);
  color: #1a1308;
  font-size: 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

.hero-icon-text {
  color: #f5efe2;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Hide point chips if used */
.hero-points {
  display: none !important;
}

@media (max-width: 900px) {
  .hero-icon-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero-copy {
    padding: 22px !important;
  }
  .hero-icon-strip {
    grid-template-columns: 1fr;
  }
}


/* Hero quick navigation cards */
.hero-nav-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 10px;
}

.hero-nav-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(214, 177, 82, 0.30);
  background: linear-gradient(180deg, rgba(44, 35, 20, 0.98), rgba(24, 20, 14, 0.98));
  color: #f7f0e1;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.hero-nav-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.22);
  border-color: rgba(232, 196, 108, 0.46);
}

.hero-nav-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0d37a, #b88a2d);
  color: #1a1308;
  font-size: 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
}

.hero-nav-text {
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Hide old leftover highlight containers if any still exist */
.hero-icon-strip,
.hero-points,
#heroPoints {
  display: none !important;
}

/* Back to Top */
.section-back-wrap {
  margin-top: 18px;
}
.section-back-inline {
  margin-top: 0;
  margin-bottom: 12px;
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #b7892d;
  font-weight: 600;
  font-size: 0.95rem;
}
.back-to-top:hover {
  color: #8f6719;
  text-decoration: underline;
}

.card-meta-links {
  margin-top: 14px;
  padding-top: 8px;
  border-top: 1px dashed rgba(183, 137, 45, 0.28);
}
.card-back-top {
  font-size: 0.88rem;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 900px) {
  .hero-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero-nav-grid {
    grid-template-columns: 1fr;
  }
}


/* compact category shortcuts */
.compact-shortcut {
  padding: 14px 16px;
}
.compact-shortcut .shortcut-line {
  margin-bottom: 10px;
  line-height: 1.35;
}
.compact-shortcut span,
.compact-shortcut p {
  display: none !important;
}

/* collapsible contact panel */
.contact-details {
  margin-top: 14px;
  border: 1px solid rgba(183, 137, 45, 0.22);
  border-radius: 14px;
  background: rgba(255, 248, 235, 0.42);
  overflow: hidden;
}
.contact-toggle {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 600;
  color: #6f5016;
}
.contact-toggle::-webkit-details-marker {
  display: none;
}
.contact-toggle::after {
  content: "+";
  float: right;
  font-size: 1.1rem;
  line-height: 1;
}
.contact-details[open] .contact-toggle::after {
  content: "–";
}
.contact-panel {
  padding: 0 14px 14px;
}
.contact-panel .contact-list,
.contact-panel .social-row {
  margin-top: 10px;
}
.contact-panel .card-actions {
  margin-top: 12px;
}


/* v5 typography override: modern sans-serif headings */
/* Previous serif heading setup intentionally commented above for easy rollback. */
h1, h2, h3, h4, h5, h6,
.hero h1,
.hero-title,
.section-heading h2,
.eyebrow,
.card-title,
.shortcut-card strong {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  letter-spacing: -0.01em;
}

/* compact category cards */
.compact-shortcut {
  padding: 12px 14px;
  display: flex;
  align-items: center;
}
.compact-shortcut .shortcut-line {
  margin-bottom: 0;
}
.shortcut-line-link {
  display: inline-flex;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}
.shortcut-line-link:hover {
  color: #b7892d;
  text-decoration: underline;
}
.compact-shortcut button {
  display: none !important;
}

/* stronger contrast for contact toggle */
.contact-details {
  margin-top: 14px;
  border: 1px solid rgba(183, 137, 45, 0.34);
  border-radius: 14px;
  background: rgba(39, 30, 18, 0.96);
  overflow: hidden;
}
.contact-toggle {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 700;
  color: #fff8e7;
  background: linear-gradient(180deg, #c9952f, #8b6218);
  border-bottom: 1px solid rgba(255, 232, 176, 0.2);
}
.contact-toggle:hover {
  filter: brightness(1.05);
}
.contact-toggle::-webkit-details-marker {
  display: none;
}
.contact-toggle::after {
  content: "+";
  float: right;
  font-size: 1.1rem;
  line-height: 1;
  color: #fff8e7;
}
.contact-details[open] .contact-toggle::after {
  content: "–";
}
.contact-panel {
  padding: 0 14px 14px;
  background: rgba(23, 18, 12, 0.92);
}
.contact-panel .contact-list,
.contact-panel .social-row {
  margin-top: 10px;
}
.contact-panel .card-actions {
  margin-top: 12px;
}


/* v6: Gold headers instead of white */
h1, h2, h3, h4, h5, h6,
.hero h1,
.section-heading h2,
.eyebrow {
  color: #d4af37 !important;
}

/* v6: spacing fix for Explore by area section */
#areas .section-heading {
  margin-bottom: 18px;
}


/* v8.1: hide Category shortcuts section without removing DOM, so existing JS remains stable */
#categories {
  display: none !important;
}


/* v9.1.1 image optimization */
.card-media {
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* v9.1.1 back-to-top refinement */
.back-to-top {
  opacity: 0.7;
}
.back-to-top:hover {
  opacity: 1;
}
