/* McNairy Business Hub — Coming Soon */
:root {
  --green: #1f513a;
  --green-2: #2a6b4d;
  --gold: #f1c75c;
  --gold-dark: #c89a2c;
  --cream: #f7f2e6;
  --ink: #1a2a23;
  --muted: #5a6961;
  --line: #e3ddcd;
  --bg: #faf8f1;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius: 14px;
  --shadow: 0 4px 18px rgba(31,81,58,.07);
  --shadow-lg: 0 16px 40px rgba(31,81,58,.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.stage {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.2rem;
}

.card {
  max-width: 560px;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  box-shadow: 0 18px 50px rgba(31,81,58,.16);
  padding: 3rem 2.6rem 2.2rem;
  text-align: center;
  border-radius: var(--radius);
}

.mark {
  display: inline-block;
  margin-bottom: 1.2rem;
  line-height: 0;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  color: var(--gold-dark);
  font-weight: 700;
  margin-bottom: .8rem;
}

h1 {
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -.01em;
}
h1 .accent { color: var(--gold-dark); }

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0 0 1.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--green);
  color: #fff;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 1.4rem;
}
.pulse {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(241,199,92,.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(241,199,92,.7); }
  70%  { box-shadow: 0 0 0 12px rgba(241,199,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(241,199,92,0); }
}

.note {
  font-size: .95rem;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 1.6rem;
}

.cta-row { margin-bottom: 2.2rem; }

.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: .8rem 1.7rem;
  font-weight: 700;
  letter-spacing: .01em;
  font-size: .95rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(31,81,58,.18);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:hover { background: var(--green-2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(31,81,58,.22); }

.foot {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  font-size: .8rem;
  color: var(--muted);
}
.foot a { color: var(--green-2); text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--gold-dark); }
.foot .sep { margin: 0 .5rem; opacity: .5; }

@media (max-width: 520px) {
  .card { padding: 2.2rem 1.6rem 1.8rem; }
  h1 { font-size: 1.9rem; }
  .lead { font-size: .98rem; }
}

/* ============================================================
   Directory site styles (extends the coming-soon palette above)
   ============================================================ */

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.2rem; }

/* Header */
.site-header {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(31,81,58,.07);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-top: .9rem;
  padding-bottom: .9rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 100%;
}
@media (max-width: 720px) {
  .brand img { height: 44px; }
}
.primary-nav { display: flex; gap: 1.2rem; margin-left: auto; }
.primary-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.primary-nav a:hover { color: var(--gold-dark); }
.site-search {
  display: flex;
  gap: .4rem;
  flex: 1 1 260px;
  max-width: 360px;
}
.site-search input[type="search"] {
  flex: 1;
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: inherit;
}
.site-search input[type="search"]:focus {
  outline: none;
  border-color: var(--green-2);
  box-shadow: 0 0 0 3px rgba(31,81,58,.12);
}
.site-search button {
  background: var(--green);
  color: #fff;
  border: 0;
  padding: 0 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .82rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.site-search button:hover { background: var(--green-2); }

/* Hamburger toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  background: var(--green);
  color: #fff;
  border: 0;
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  cursor: pointer;
}
/* "Membership" dropdown */
.primary-nav .nav-item.has-dropdown { position: relative; display: inline-flex; align-items: center; }
.dropdown-toggle {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
}
.dropdown-toggle:hover { color: var(--gold-dark); }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: .35rem 0;
  display: none;
  z-index: 50;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: .55rem 1.1rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: .95rem;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--cream); }

/* Phone reveal (gradient mask + click to show) */
.phone-cell { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.phone-fuzz {
  font-weight: 700;
  letter-spacing: .06em;
  color: transparent;
  background: linear-gradient(90deg, var(--green), var(--muted), var(--line));
  -webkit-background-clip: text;
  background-clip: text;
  filter: blur(3.5px);
  user-select: none;
}
.phone-reveal {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
  cursor: pointer;
}
.phone-reveal:hover { color: var(--gold-dark); }
.phone-reveal[disabled] { color: var(--muted); cursor: default; text-decoration: none; }

/* Per-business contact form + disabled notice */
.biz-contact { margin-top: 1.6rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }
.biz-contact-wrap { position: relative; }
.biz-contact-disabled .contact-form { filter: blur(2px); opacity: .5; pointer-events: none; }
.biz-contact-notice {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}
.biz-contact-notice div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0,0,0,.10);
  padding: 1rem 1.2rem;
  max-width: 380px;
}

/* Home-page membership sell block */
.membership-sell {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 2rem 2.2rem;
  margin: 0 0 2.6rem;
  text-align: center;
}
.ms-eyebrow {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 0 0 .4rem;
}
.membership-sell h2 {
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em;
  color: var(--green);
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 .6rem;
}
.ms-lead { max-width: 740px; margin: 0 auto 1.2rem; font-size: 1.05rem; }
.ms-benefits {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.2rem;
  max-width: 640px;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1.6rem;
}
.ms-benefits li { padding-left: 1.5rem; position: relative; }
.ms-benefits li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.ms-anchor {
  background: var(--cream);
  border-radius: var(--radius);
  padding: .7rem 1rem;
  max-width: 640px;
  margin: 0 auto 1.4rem;
  font-size: .98rem;
}
.ms-actions { display: flex; align-items: center; justify-content: center; gap: 1.3rem; flex-wrap: wrap; }
.membership-sell .btn-primary { font-size: 1.05rem; padding: .8rem 1.7rem; }
.ms-secondary { color: var(--muted); font-size: .92rem; text-decoration: underline; }
.ms-secondary:hover { color: var(--green); }
@media (max-width: 720px) {
  .membership-sell { padding: 1.4rem 1.2rem; }
  .membership-sell h2 { font-size: 1.5rem; }
  .ms-benefits { grid-template-columns: 1fr; }
}

/* Membership vs Chamber comparison table */
.compare-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.4rem; }
.compare-table thead th { background: var(--green); color: #fff; text-align: left; }
.compare-table th, .compare-table td {
  padding: .65rem .8rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.compare-table td:last-child { background: #fffaeb; }

/* Main */
.site-main { padding: 2.4rem 0 3rem; }
.site-main > .wrap { background: transparent; }

/* Generic page heading */
.page-head {
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em;
  font-size: 2rem;
  color: var(--green);
  margin-bottom: .3rem;
}
.page-head .crumb { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .4rem; }
.page-head .crumb a { color: var(--green-2); text-decoration: none; }
.page-head .count { color: var(--muted); font-size: .95rem; }

/* Hero (homepage) */
.hero {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 2.6rem 2rem;
  text-align: center;
  margin-bottom: 2.4rem;
  box-shadow: 0 10px 30px rgba(31,81,58,.08);
}
.hero h1 {
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em;
  font-size: 2.7rem;
  color: var(--green);
  margin-bottom: .8rem;
  line-height: 1.12;
}
.hero h1 .accent { color: var(--gold-dark); }
.hero .lead { max-width: 560px; margin: 0 auto 1.6rem; color: var(--muted); font-size: 1.05rem; }
.hero .hero-search { max-width: 520px; margin: 0 auto; display: flex; gap: .5rem; }
.hero .hero-search input {
  flex: 1;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
}
.hero .hero-search button {
  background: var(--green);
  color: #fff;
  border: 0;
  padding: 0 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .88rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.hero .hero-search button:hover { background: var(--green-2); }

/* Category grid */
.section-head {
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em;
  font-size: 1.7rem;
  color: var(--green);
  margin: 2.6rem 0 1.1rem;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .8rem;
}
.category-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.category-tile:hover {
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(31,81,58,.08);
}
.category-tile .cat-name { font-weight: 600; color: var(--green); font-size: .98rem; }
.category-tile .cat-count {
  background: var(--cream);
  color: var(--gold-dark);
  font-weight: 700;
  font-size: .78rem;
  padding: .2rem .55rem;
  border-radius: 999px;
}

/* Letter jump bar */
.letter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .6rem;
  margin-bottom: 1.4rem;
}
.letter-bar a, .letter-bar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  font-weight: 700;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--green);
}
.letter-bar a:hover { background: var(--cream); }
.letter-bar .active { background: var(--green); color: #fff; }

/* Business list (table) */
.biz-list {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.biz-list th, .biz-list td {
  padding: .8rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.biz-list th {
  background: var(--cream);
  color: var(--green);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}
.biz-list tr:last-child td { border-bottom: 0; }
.biz-list tr:hover td { background: rgba(247,242,230,.5); }
.biz-list a.biz-name { color: var(--green); text-decoration: none; font-weight: 700; }
.biz-list a.biz-name:hover { color: var(--gold-dark); text-decoration: underline; }
.biz-list .biz-addr { color: var(--muted); font-size: .9rem; }
.biz-list .biz-addr.missing { font-style: italic; opacity: .7; }
.biz-list a.cat-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--gold-dark);
  font-size: .78rem;
  padding: .2rem .6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.biz-list a.cat-tag:hover { background: var(--gold); color: var(--green); }

/* Pager */
.pager {
  display: flex;
  gap: .3rem;
  justify-content: center;
  margin: 1.6rem 0 0;
  flex-wrap: wrap;
}
.pager a, .pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 .6rem;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--green);
  border: 1px solid var(--line);
  background: #fff;
}
.pager a:hover { border-color: var(--gold-dark); }
.pager .cur { background: var(--green); color: #fff; border-color: var(--green); }
.pager .gap { border: 0; background: transparent; }

/* Business detail */
.biz-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  box-shadow: 0 10px 30px rgba(31,81,58,.06);
}
.biz-detail h1 {
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em;
  font-size: 2rem;
  color: var(--green);
  margin-bottom: .4rem;
}
.biz-detail .biz-category {
  display: inline-block;
  background: var(--cream);
  color: var(--gold-dark);
  font-size: .8rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.4rem;
}
.biz-detail dl { display: grid; grid-template-columns: 140px 1fr; gap: .7rem 1.4rem; margin: 1.6rem 0; }
.biz-detail dt { font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; padding-top: .15rem; }
.biz-detail dd { color: var(--ink); font-size: 1rem; }
.biz-detail dd .missing { color: var(--muted); font-style: italic; }
.biz-detail .maps-link {
  display: inline-block;
  margin-top: .3rem;
  font-size: .85rem;
  color: var(--green-2);
  font-weight: 600;
  text-decoration: none;
}
.biz-detail .maps-link:hover { color: var(--gold-dark); }
.biz-detail .owner-note {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .92rem;
}
.biz-detail .owner-note a { color: var(--green-2); font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--green);
  color: #d8e5dc;
  padding: 1.8rem 0;
  margin-top: 3rem;
  text-align: center;
  font-size: .88rem;
}
.site-footer a { color: var(--gold); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: #fff; }
.site-footer .foot-meta { margin-top: .4rem; }
.site-footer .foot-credit { margin-top: .8rem; opacity: .7; font-size: .8rem; }

/* Empty / message states */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.empty-state h2 {
  color: var(--green);
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em;
  font-size: 1.4rem;
  margin-bottom: .6rem;
}

/* Rolling biz counter in hero */
.biz-counter {
  margin: 1rem 0 1.4rem;
  text-align: center;
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em;
}
.biz-counter .counter-num {
  display: block;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.biz-counter .counter-label {
  display: block;
  margin-top: .3rem;
  font-size: 1rem;
  color: var(--ink);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
}
@media (max-width: 720px) {
  .biz-counter .counter-num { font-size: 2.4rem; }
}

/* CTA strip (Add your business + Become a member) */
.cta-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0 2.4rem;
}
.cta-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
}
.cta-card h3 {
  margin: 0 0 .4rem;
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em;
  color: var(--green);
  font-size: 1.1rem;
}
.cta-card p { margin: 0 0 .9rem; font-size: .95rem; }
.cta-promote { border-top: 4px solid var(--gold); }
.btn {
  display: inline-block;
  padding: .55rem 1.1rem;
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
}
.btn-outline { background: #fff; color: var(--green); border: 1.5px solid var(--green); }
.btn-outline:hover { background: var(--green); color: var(--gold); }
.btn-primary { background: var(--green); color: var(--gold); border: 1.5px solid var(--green); }
.btn-primary:hover { background: var(--green-2); border-color: var(--green-2); }
@media (max-width: 720px) {
  .cta-strip { grid-template-columns: 1fr; }
}

/* County map */
.county-map {
  height: 840px;
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #f0ebda;
  margin-bottom: .5rem;
}
.map-popup strong { color: var(--green); font-size: 1.05em; }
.map-popup a { color: var(--green-2); font-weight: 600; }
.leaflet-tooltip.town-label {
  background: rgba(31, 81, 58, 0.92);
  color: var(--gold);
  border: 0;
  padding: 2px 6px;
  font-size: .78rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.leaflet-tooltip.town-label::before { display: none; }
.map-fallback {
  text-align: right;
  margin: 0 0 1.4rem;
  font-size: .9rem;
}
.map-fallback a { color: var(--green-2); }
.city-list-collapse {
  margin-bottom: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .6rem 1rem;
}
.city-list-collapse summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--green);
  padding: .3rem 0;
}
.city-list-collapse[open] summary { margin-bottom: .8rem; }
@media (max-width: 720px) {
  .county-map { height: 640px; }
}
.map-intro {
  color: var(--muted);
  font-size: .92rem;
  margin: -.4rem 0 .8rem;
}
.map-popup-city { color: var(--muted); font-size: .85rem; }

/* Custom cluster bubbles — green with gold text, matches the brand */
.mbh-cluster {
  background: transparent;
}
.mbh-cluster .mbh-cluster-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--gold);
  font-weight: 700;
  font-size: .9rem;
  border: 3px solid rgba(241, 199, 92, 0.55);
  box-shadow: 0 4px 12px rgba(31, 81, 58, 0.3);
}
.mbh-cluster-small .mbh-cluster-inner { font-size: .85rem; }
.mbh-cluster-med .mbh-cluster-inner   { font-size: .95rem; }
.mbh-cluster-large .mbh-cluster-inner { background: var(--green-2); font-size: 1rem; }
.mbh-cluster-xl .mbh-cluster-inner    { background: var(--gold-dark); color: #fff; font-size: 1.05rem; }

/* Membership badge + CTA */
.member-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--green);
  font-size: .75rem;
  font-weight: 800;
  padding: .15rem .55rem;
  border-radius: var(--radius-sm);
  vertical-align: middle;
  margin-left: .4rem;
  letter-spacing: .04em;
}
.member-badge.inline {
  margin-left: 0;
  font-size: .7rem;
  padding: .1rem .45rem;
}
.biz-list tr.member { background: #fffaeb; }
.biz-list tr.member td { font-weight: 600; }
.ad-label {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .08rem .4rem;
  margin-bottom: .5rem;
}
.member-cta {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: #fffaeb;
  border: 1px solid #e6cf86;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  font-size: .92rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}
.member-cta strong { color: #6a4a00; }
.member-cta .btn { margin-left: auto; }

/* Newsletter signup on homepage */
.newsletter-section { margin: 2rem 0 2.4rem; }
.newsletter-card {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: var(--cream);
  border-radius: 8px;
  padding: 1.5rem 1.8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: center;
}
.newsletter-card h3 {
  margin: 0 0 .4rem;
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em;
  color: var(--gold);
  font-size: 1.25rem;
}
.newsletter-card p { margin: 0; font-size: .95rem; opacity: .92; }
.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: .5rem;
}
.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  font: inherit;
  padding: .55rem .7rem;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.95);
  color: var(--ink);
}
.newsletter-form button {
  background: var(--gold);
  color: var(--green);
  border: 0;
  padding: .55rem 1.1rem;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
}
.newsletter-form button:hover { background: var(--gold-dark); }
.newsletter-err {
  grid-column: 1 / -1;
  margin: .6rem 0 0;
  color: #ffd9d2;
  font-size: .9rem;
}
.newsletter-card.subscribed { grid-template-columns: 1fr; text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
@media (max-width: 720px) {
  .newsletter-card { grid-template-columns: 1fr; }
  .newsletter-form { grid-template-columns: 1fr; }
}

/* Membership CTA in category page header */
.category-member-cta {
  background: #fffaeb;
  border: 1px solid #e6cf86;
  border-left: 4px solid var(--gold);
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  margin: 1rem 0 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .92rem;
}
.category-member-cta strong { color: #6a4a00; }
.category-member-cta a {
  font-weight: 700;
  color: var(--green);
  text-decoration: underline;
}

/* Social links (Facebook, Instagram) on business pages */
.social-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.social-links .social {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .7rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  border: 1px solid;
  transition: background .12s, color .12s;
}
.social-links .social svg { flex-shrink: 0; }
.social-links .facebook  { color: #1877f2; border-color: #1877f2; }
.social-links .facebook:hover  { background: #1877f2; color: #fff; }
.social-links .instagram { color: #c13584; border-color: #c13584; }
.social-links .instagram:hover { background: #c13584; color: #fff; }

/* Last-verified timestamp on enriched business pages */
.last-updated {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px dashed #d8cfb7;
  font-size: .85rem;
  color: #6c6c6c;
  font-style: italic;
}

/* Closure banner on permanently-closed business pages */
.closure-banner {
  background: #fff4e5;
  border: 1px solid #e0a96d;
  border-left: 5px solid #b85c00;
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
  margin: 1.2rem 0;
  color: #6a3300;
}
.closure-banner strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: .3rem;
  color: #6a3300;
}
.closure-banner p { margin: .35rem 0; font-size: .95rem; }
.closure-banner .closure-evidence {
  font-style: italic;
  color: #7a4a1a;
}
.closure-banner a {
  color: #6a3300;
  font-weight: 600;
  text-decoration: underline;
}
.biz-list tr.closed td { opacity: .55; }
.biz-list tr.closed .biz-name::after {
  content: " · closed";
  font-size: .85em;
  color: #b85c00;
  font-weight: normal;
}

/* Enriched fields on business pages */
.hours-table {
  border-collapse: collapse;
  margin-top: .2rem;
}
.hours-table th, .hours-table td {
  padding: .15rem .8rem .15rem 0;
  text-align: left;
  font-weight: normal;
  vertical-align: top;
}
.hours-table th {
  color: var(--green);
  font-weight: 600;
  width: 3.5rem;
}
.photo-sources {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #e6e0cf;
}
.photo-sources h3 {
  font-family: var(--font-sans); font-weight: 800; letter-spacing: -.02em;
  color: var(--green);
  font-size: 1.1rem;
  margin: 0 0 .4rem;
}
.photo-sources ul { list-style: none; padding: 0; margin: 0; }
.photo-sources li { margin: .25rem 0; }
.photo-sources a {
  color: var(--green-2);
  font-size: .95rem;
  word-break: break-all;
}

/* Contact form */
.contact-form {
  background: #fff;
  border: 1px solid #e6e0cf;
  border-radius: 8px;
  padding: 1.6rem;
  max-width: 640px;
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: .35rem;
  font-weight: 600;
  color: var(--green);
}
.contact-form .hint { color: #777; font-weight: 400; font-size: .9em; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: .55rem .7rem;
  border: 1px solid #cfc7b3;
  border-radius: var(--radius);
  background: #fdfcf7;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form button {
  background: var(--green);
  color: var(--gold);
  border: 0;
  padding: .7rem 1.4rem;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  justify-self: start;
}
.contact-form button:hover { background: var(--green-2); }
.contact-form .form-note { color: #777; font-size: .85rem; margin: 0; }
.form-errors {
  background: #fdecea;
  border: 1px solid #f5c2bc;
  border-radius: 6px;
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  color: #8a1c1c;
}
.form-errors ul { margin: .4rem 0 0 1.2rem; }

/* Responsive */
@media (max-width: 720px) {
  .site-header .wrap { gap: .8rem; flex-wrap: wrap; }
  .nav-toggle { display: inline-block; order: 1; margin-left: auto; }
  .primary-nav {
    order: 4;
    width: 100%;
    margin-left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    margin-top: .6rem;
    padding-top: .4rem;
  }
  .primary-nav.open { display: flex; }
  .primary-nav > a,
  .primary-nav .dropdown-toggle { padding: .7rem .2rem; border-bottom: 1px solid var(--line); text-align: left; }
  .primary-nav .nav-item.has-dropdown { display: block; }
  .dropdown-menu {
    position: static;
    display: none;
    border: 0;
    box-shadow: none;
    min-width: 0;
    padding: 0 0 .4rem .9rem;
  }
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu { display: none; }
  .has-dropdown.open .dropdown-menu { display: block; }
  .site-search { order: 3; max-width: none; width: 100%; }
  .hero h1 { font-size: 1.8rem; }
  .hero { padding: 1.8rem 1.2rem; }
  .biz-detail { padding: 1.4rem 1.2rem; }
  .biz-detail dl { grid-template-columns: 1fr; gap: .2rem 0; }
  .biz-detail dt { margin-top: .8rem; }
  .biz-list th:nth-child(3), .biz-list td:nth-child(3) { display: none; } /* hide category col on mobile */
  .compare-table th:nth-child(3), .compare-table td:nth-child(3) { display: table-cell; } /* keep Hub column */
  .compare-table { font-size: .82rem; }
  .compare-table th, .compare-table td { padding: .45rem .5rem; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* Membership inline notes */
.member-trial-note,
.member-fair-note {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: .9rem 1.1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.2rem 0;
  font-size: .95rem;
}
.member-fair-note { border-left-color: var(--green); }
.member-trial-note p,
.member-fair-note p { margin: 0; }

/* Resources hub */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}
.resource-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.resource-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}
.resource-card h3 {
  color: var(--green);
  font-size: 1.05rem;
  margin: 0 0 .4rem;
}
.resource-card p {
  color: var(--ink);
  font-size: .92rem;
  margin: 0 0 .8rem;
}
.resource-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  margin-bottom: .5rem;
}
.resource-time {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 600;
}
.resource-flag {
  background: var(--cream);
  color: var(--gold-dark);
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.resource-cta {
  color: var(--green-2);
  font-weight: 600;
  font-size: .9rem;
}
.resource-soon {
  cursor: default;
  opacity: 0.7;
}
.resource-soon:hover { transform: none; box-shadow: var(--shadow); border-color: var(--line); }
.resources-suggest {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
  margin: 1.8rem 0 2rem;
}
.resources-suggest h2 { margin: 0 0 .5rem; color: var(--green); }
.resources-suggest p { margin: 0 0 1rem; }

/* Single resource article */
.resource-article { max-width: 760px; }
.resource-byline {
  color: var(--muted);
  font-size: .85rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.resource-body {
  font-size: 1.02rem;
  line-height: 1.75;
}
.resource-body h2 {
  color: var(--green);
  margin: 2rem 0 .8rem;
  font-size: 1.4rem;
  border-bottom: 2px solid var(--line);
  padding-bottom: .4rem;
}
.resource-body h3 {
  color: var(--green-2);
  margin: 1.4rem 0 .5rem;
  font-size: 1.12rem;
}
.resource-body p { margin: 0 0 1rem; }
.resource-body ul, .resource-body ol {
  margin: 0 0 1.2rem 1.4rem;
  padding: 0;
}
.resource-body li { margin-bottom: .4rem; }
.resource-body a { color: var(--green-2); }
.resource-body code {
  background: var(--cream);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-size: .9em;
}
.resource-body blockquote {
  border-left: 4px solid var(--gold);
  background: rgba(241, 199, 92, 0.08);
  padding: .8rem 1rem;
  margin: 1rem 0;
  color: var(--ink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.resource-body blockquote strong { color: var(--green); }
.resource-callout {
  background: rgba(31, 81, 58, 0.05);
  border-left: 4px solid var(--green);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.2rem 0;
}
.resource-callout strong { color: var(--green); }
.resource-checklist {
  list-style: none;
  margin-left: 0;
  padding: 0;
}
.resource-checklist li {
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: .5rem;
}
.resource-checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 1.2rem;
  line-height: 1;
}
.resource-foot {
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.resource-foot h2 { color: var(--green); margin-bottom: .5rem; }
.resource-back { margin-top: 1rem; }
.resource-back a { color: var(--muted); font-size: .9rem; }

/* Sites & Buildings page */
.sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
  margin: 0 0 2.4rem;
}
.site-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}
.site-card.site-county {
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(31,81,58,.12);
}
.site-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: .8rem;
}
.site-card h3 { font-size: 1.1rem; color: var(--green); margin: 0 0 .5rem; }
.site-flag {
  position: absolute;
  top: .8rem;
  right: .8rem;
  background: var(--green);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .55rem;
  border-radius: var(--radius-sm);
}
.site-flag-featured { background: var(--gold-dark); color: #fff; }
.site-meta { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .6rem; }
.site-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .55rem;
  border-radius: 999px;
}
.site-tag-deal { background: var(--green); color: var(--gold); }
.site-tag-pending { background: var(--gold-dark); color: #fff; }
.site-addr { color: var(--muted); font-size: .9rem; margin-bottom: .55rem; }
.site-specs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  font-size: .92rem;
  margin: 0 0 .8rem;
  padding: 0;
}
.site-specs li { color: var(--ink); }
.site-specs strong { color: var(--green); }
.site-desc { font-size: .94rem; color: var(--ink); margin-bottom: .8rem; }
.site-features {
  list-style: none;
  font-size: .85rem;
  color: var(--muted);
  margin: 0 0 .9rem;
  padding: 0;
}
.site-features li { padding-left: 1.1rem; position: relative; }
.site-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-2);
  font-weight: 700;
}
.site-actions { margin-top: auto; display: flex; gap: .5rem; flex-wrap: wrap; }
.sites-county-empty {
  border: 2px dashed var(--green);
  background: linear-gradient(135deg, rgba(241,199,92,.08), rgba(31,81,58,.04));
}
.sites-ed-pitch {
  background: var(--green);
  color: #fff;
  padding: 2.4rem 1.6rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 2.4rem 0;
}
.sites-ed-pitch .ms-eyebrow { color: var(--gold); }
.sites-ed-pitch h2 { color: #fff; margin-bottom: 1rem; }
.sites-ed-pitch .ms-lead { color: rgba(255,255,255,.92); }
.sites-ed-pitch .ms-benefits {
  text-align: left;
  max-width: 560px;
  margin: 1.2rem auto;
  list-style: none;
  padding: 0;
}
.sites-ed-pitch .ms-benefits li { padding-left: 1.5rem; position: relative; margin-bottom: .5rem; }
.sites-ed-pitch .ms-benefits li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.sites-ed-pitch .ms-secondary { color: var(--gold); }
.sites-ed-pitch .ms-secondary:hover { color: #fff; }

