/* Owned Here - design layer.
   Clean and professional: white space, thin slate borders, light shadows,
   solid colors. Navy/blue carries the brand, red is reserved for actions
   (endorse, add a business). Values follow Tailwind's slate/blue/red scales
   so anything added later with Tailwind classes matches. */

:root {
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-600: #dc2626;
  --red-700: #b91c1c;

  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, .05);
  --shadow: 0 1px 3px 0 rgba(15, 23, 42, .08), 0 1px 2px -1px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 20px -6px rgba(15, 23, 42, .12), 0 2px 6px -2px rgba(15, 23, 42, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--slate-800);
  font-family: var(--font); font-size: 1rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-800); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0; color: var(--slate-900); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--slate-900); color: #fff; padding: .6rem 1rem; z-index: 60; }
.skip:focus { left: 1rem; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 1.25rem; height: 1.25rem; flex: none; }

/* Eyebrow: a small square marker, never a line (house rule). */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-700);
}
.eyebrow::before { content: ""; width: .45rem; height: .45rem; background: var(--red-600); border-radius: 1px; flex: none; }
h1.eyebrow { line-height: 1.4; }

/* ---------- Header ---------- */
.topline { background: var(--navy); color: var(--slate-300); font-size: .8rem; }
.topline .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.topline a { color: #fff; font-weight: 600; }
.topline a:hover { color: var(--blue-200); }
.topline .hide-sm { display: none; }
.topline .wrap > a { margin-left: auto; }
@media (min-width: 720px) { .topline .hide-sm { display: inline; } }

.site-header { background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--slate-200); position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(180%) blur(8px); }
.site-header .header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--slate-900); }
.brand:hover { text-decoration: none; color: var(--slate-900); }
.brand svg { width: 2.25rem; height: 2.25rem; flex: none; }
.brand-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.brand-name small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .02em; color: var(--slate-500); margin-top: .15rem; }
.nav { display: none; align-items: center; gap: .25rem; }
.nav a { font-weight: 600; font-size: .92rem; color: var(--slate-600); padding: .5rem .75rem; border-radius: var(--r-sm); }
.nav a:hover { color: var(--slate-900); background: var(--slate-100); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); }
.header-cta { display: none !important; }
.menu-btn { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--slate-300); border-radius: var(--r-sm); padding: .45rem .8rem; font: 600 .85rem var(--font); color: var(--slate-700); cursor: pointer; }
.menu-btn svg { width: 1.1rem; height: 1.1rem; }
.mobile-nav { display: none; border-top: 1px solid var(--slate-200); padding: .5rem 0 1rem; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .7rem .25rem; font-weight: 600; color: var(--slate-800); border-bottom: 1px solid var(--slate-100); }
.mobile-nav a:last-child { border-bottom: 0; }
@media (min-width: 980px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex !important; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 .95rem/1.2 var(--font); cursor: pointer; white-space: nowrap;
  padding: .75rem 1.15rem; border-radius: var(--r-sm); border: 1px solid var(--blue-700);
  background: var(--blue-700); color: #fff; box-shadow: var(--shadow-sm);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { background: var(--blue-800); border-color: var(--blue-800); color: #fff; text-decoration: none; box-shadow: var(--shadow); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-red { background: var(--red-600); border-color: var(--red-600); }
.btn-red:hover { background: var(--red-700); border-color: var(--red-700); }
.btn-outline { background: #fff; color: var(--slate-800); border-color: var(--slate-300); }
.btn-outline:hover { background: var(--slate-50); color: var(--slate-900); border-color: var(--slate-400); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--blue-50); border-color: var(--blue-50); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-sm { padding: .5rem .85rem; font-size: .86rem; }
.btn-lg { padding: .9rem 1.4rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Motion (subtle) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reveal { animation: rise .5s ease-out both; }
.reveal-1 { animation-delay: .05s; } .reveal-2 { animation-delay: .1s; } .reveal-3 { animation-delay: .15s; } .reveal-4 { animation-delay: .2s; } .reveal-5 { animation-delay: .25s; }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- Home hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--slate-200); background: var(--slate-50); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.hero-headline { font-size: clamp(2.3rem, 5.6vw, 3.9rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; color: var(--slate-900); margin: 1rem 0 1.1rem; }
.hero-headline em { font-style: normal; color: var(--blue-700); }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.18rem); color: var(--slate-600); max-width: 36rem; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--slate-200); box-shadow: var(--shadow-md); }
.hero-photo figcaption { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255, 255, 255, .95); border: 1px solid var(--slate-200); border-radius: var(--r-sm); padding: .4rem .7rem; font-size: .78rem; font-weight: 600; color: var(--slate-700); box-shadow: var(--shadow-sm); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: .9rem; }
.stat { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r); padding: .8rem .9rem; box-shadow: var(--shadow-sm); }
.stat b { display: block; font-size: 1.4rem; font-weight: 800; color: var(--slate-900); letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: .78rem; color: var(--slate-500); font-weight: 600; }

.search { margin-top: 1.75rem; background: #fff; border: 1px solid var(--slate-300); border-radius: var(--r); box-shadow: var(--shadow); padding: .4rem; max-width: 38rem; }
.search:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-100), var(--shadow); }
.search-row { display: flex; gap: .4rem; align-items: center; }
.search-row > svg { width: 1.2rem; height: 1.2rem; color: var(--slate-400); margin-left: .6rem; flex: none; }
.search input[type="search"] { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1.02rem var(--font); color: var(--slate-900); padding: .7rem .5rem; }
.search input[type="search"]:focus { outline: none; }
.search input::placeholder { color: var(--slate-400); }
.town-pills { display: flex; flex-wrap: wrap; gap: .35rem; padding: .55rem .35rem .3rem; margin-top: .35rem; border-top: 1px solid var(--slate-100); }
.town-pills label { cursor: pointer; }
.town-pills input { position: absolute; opacity: 0; pointer-events: none; }
.town-pills span { display: inline-block; font-size: .8rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--slate-200); color: var(--slate-600); background: #fff; transition: all .15s ease; }
.town-pills span:hover { border-color: var(--slate-300); color: var(--slate-900); }
.town-pills input:checked + span { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-200); }
.town-pills input:focus-visible + span { outline: 2px solid var(--blue-600); }
.hero-rules { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .88rem; font-weight: 600; color: var(--slate-600); }
.hero-rules span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-rules svg { width: 1.1rem; height: 1.1rem; color: var(--blue-600); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-tight { padding: clamp(2.25rem, 4vw, 3.25rem) 0; }
.band { background: var(--slate-50); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.band-navy { background: var(--navy); color: var(--slate-300); }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .eyebrow { color: var(--blue-200); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2.5rem; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin-top: .55rem; }
.section-head p { max-width: 34rem; margin: 0; color: var(--slate-600); }
.band-navy .section-head p { color: var(--slate-300); }
.center-cta { text-align: center; margin-top: 2.25rem; }

/* ---------- Town cards ---------- */
.towns { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .towns { grid-template-columns: repeat(3, 1fr); } }
.town-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); color: var(--slate-800); transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.town-card:hover { box-shadow: var(--shadow-md); border-color: var(--slate-300); transform: translateY(-2px); text-decoration: none; color: var(--slate-800); }
.town-card .media { aspect-ratio: 16 / 9; background: var(--navy); position: relative; overflow: hidden; }
.town-card .media img { width: 100%; height: 100%; object-fit: cover; }
.town-card .media svg { width: 100%; height: 100%; display: block; }
.town-card .body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.town-card h3 { font-size: 1.35rem; }
.town-card p { margin: 0; font-size: .93rem; color: var(--slate-600); }
.town-card .meta { margin-top: auto; padding-top: .85rem; display: flex; justify-content: space-between; align-items: center; font-size: .86rem; font-weight: 600; color: var(--slate-500); }
.town-card .go { color: var(--blue-700); display: inline-flex; align-items: center; gap: .3rem; }
.town-card .go svg { width: 1rem; height: 1rem; transition: transform .2s ease; }
.town-card:hover .go svg { transform: translateX(3px); }

/* ---------- Category index ---------- */
.index-grid { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .index-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .index-grid { grid-template-columns: repeat(3, 1fr); } }
.index-group { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg); padding: 1.15rem 1.25rem .7rem; box-shadow: var(--shadow-sm); }
.index-group h3 { display: flex; align-items: center; gap: .7rem; font-size: 1.05rem; padding-bottom: .85rem; margin-bottom: .2rem; border-bottom: 1px solid var(--slate-100); }
.index-group h3 a { color: var(--slate-900); }
.icon-chip { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--r-sm); background: var(--blue-50); color: var(--blue-700); flex: none; }
.icon-chip svg { width: 1.2rem; height: 1.2rem; }
.icon-chip.red { background: var(--red-50); color: var(--red-600); }
.leaders { list-style: none; margin: 0; padding: 0; }
.leaders li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .45rem 0; border-bottom: 1px solid var(--slate-100); }
.leaders li:last-child { border-bottom: 0; }
.leaders a { color: var(--slate-700); font-weight: 500; font-size: .95rem; }
.leaders a:hover { color: var(--blue-700); }
.leaders .ct { font-size: .78rem; font-weight: 700; color: var(--slate-500); background: var(--slate-100); border-radius: 999px; padding: .1rem .55rem; min-width: 2rem; text-align: center; }
.leaders .empty a { color: var(--slate-400); }

/* Flat category tiles (the /categories/ page and town pages) */
.tiles { display: grid; gap: .75rem; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; align-items: center; gap: .85rem; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r); padding: .85rem 1rem; box-shadow: var(--shadow-sm); color: var(--slate-800); transition: border-color .15s ease, box-shadow .15s ease; }
.tile:hover { border-color: var(--blue-200); box-shadow: var(--shadow); text-decoration: none; color: var(--slate-900); }
.tile b { display: block; font-weight: 600; font-size: .96rem; line-height: 1.3; }
.tile span { font-size: .8rem; color: var(--slate-500); }
.tile .arrow { margin-left: auto; color: var(--slate-400); width: 1rem; height: 1rem; }
.tile:hover .arrow { color: var(--blue-700); }

/* ---------- Listing cards ---------- */
.cards { display: grid; gap: 1rem; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; gap: .35rem; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r); padding: 1.1rem 1.2rem 1rem; box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, border-color .18s ease; }
.card:hover { box-shadow: var(--shadow-md); border-color: var(--slate-300); }
.card-k { font-size: .76rem; font-weight: 600; color: var(--slate-500); }
.card-name { font-size: 1.12rem; line-height: 1.3; }
.card-name a { color: var(--slate-900); }
.card-name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-name a:hover { color: var(--blue-700); text-decoration: none; }
.card-addr { font-size: .88rem; color: var(--slate-600); margin: 0; display: flex; gap: .35rem; align-items: flex-start; }
.card-addr svg { width: 1rem; height: 1rem; color: var(--slate-400); margin-top: .2rem; flex: none; }
.card-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .2rem; }
.card-foot { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; border-top: 1px solid var(--slate-100); font-size: .86rem; }
.card-foot a { position: relative; z-index: 1; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.card-foot a svg { width: .95rem; height: .95rem; }
.card-featured { border-color: var(--blue-200); box-shadow: 0 0 0 1px var(--blue-200), var(--shadow-sm); }
.card-featured:hover { border-color: var(--blue-600); }
.card-tagline { font-size: .92rem; color: var(--slate-600); margin: .1rem 0 0; }
.card-badges { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; min-height: 1.4rem; }

.tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .74rem; font-weight: 600; line-height: 1; padding: .3rem .55rem; border-radius: 999px; background: var(--slate-100); color: var(--slate-700); border: 1px solid var(--slate-200); }
.tag svg { width: .85rem; height: .85rem; }
.tag-blue { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-100); }
.tag-red { background: var(--red-50); color: var(--red-700); border-color: var(--red-100); }
.tag-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.tag-navy a, .tag a { color: inherit; position: relative; z-index: 1; }

/* Endorsement badge: blue check + count */
.endorse-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; color: var(--blue-700); }
.endorse-badge svg { width: 1.05rem; height: 1.05rem; }

/* Compact list rows (search results) */
.rows { border-top: 1px solid var(--slate-200); }
.row { display: grid; grid-template-columns: 1fr; gap: .25rem 1rem; padding: 1rem .25rem; border-bottom: 1px solid var(--slate-200); }
@media (min-width: 760px) { .row { grid-template-columns: 1.5fr 1fr auto; align-items: center; } }
.row-name { font-weight: 700; font-size: 1.05rem; }
.row-name a { color: var(--slate-900); }
.row-name a:hover { color: var(--blue-700); }
.row-meta { font-size: .88rem; color: var(--slate-600); }
.row-end { display: flex; gap: .75rem; align-items: center; font-size: .88rem; font-weight: 600; }
.endorse-count { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 700; color: var(--blue-700); }

/* ---------- Page heads ---------- */
.crumbs { font-size: .82rem; color: var(--slate-500); margin-bottom: .9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: ""; display: inline-block; width: .35rem; height: .35rem; border-top: 1.5px solid var(--slate-400); border-right: 1.5px solid var(--slate-400); transform: rotate(45deg); margin: 0 .55rem .1rem .1rem; }
.crumbs a { color: var(--slate-600); font-weight: 500; }
.page-head { padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.75rem, 3vw, 2.5rem); background: var(--slate-50); border-bottom: 1px solid var(--slate-200); }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; }
.page-head .lede { font-size: 1.08rem; color: var(--slate-600); max-width: 48rem; margin: .9rem 0 0; }
.page-head .stats { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.page-hero { position: relative; background: var(--navy); }
.page-hero img, .page-hero svg.banner { width: 100%; height: clamp(9rem, 22vw, 15rem); object-fit: cover; display: block; }
.page-hero figcaption { position: absolute; right: var(--gutter); bottom: .75rem; font-size: .72rem; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }

.layout { display: grid; gap: 2.5rem; padding-top: 2.25rem; padding-bottom: 4rem; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; } }
.aside-box { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r); padding: 1.25rem; margin-bottom: 1.25rem; box-shadow: var(--shadow-sm); }
.aside-box h2, .aside-box h3 { font-size: 1.02rem; margin-bottom: .65rem; }
.aside-box p { font-size: .93rem; color: var(--slate-600); }
.aside-box ul { list-style: none; margin: 0; padding: 0; }
.aside-box li { padding: .4rem 0; border-bottom: 1px solid var(--slate-100); font-size: .93rem; }
.aside-box li:last-child { border-bottom: 0; }
.aside-box li a { color: var(--slate-700); }
.aside-box li a:hover { color: var(--blue-700); }
.aside-dark { background: var(--navy); border-color: var(--navy); color: var(--slate-300); }
.aside-dark h2, .aside-dark h3 { color: #fff; }
.aside-dark p { color: var(--slate-300); }

.prose { max-width: 46rem; color: var(--slate-700); }
.prose h2 { font-size: 1.5rem; margin: 2.25rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.75rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .45rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.tip { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--r); padding: 1rem 1.15rem; margin: 0 0 1.75rem; display: flex; gap: .85rem; }
.tip svg { width: 1.35rem; height: 1.35rem; flex: none; color: var(--blue-700); margin-top: .1rem; }
.tip p { margin: 0; font-size: .95rem; color: var(--slate-700); }
.tip b { color: var(--slate-900); }

.town-switch { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.1rem 0 0; }
.town-switch a, .town-switch span { font-size: .84rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; border: 1px solid var(--slate-200); color: var(--slate-600); background: #fff; }
.town-switch a:hover { border-color: var(--slate-400); color: var(--slate-900); text-decoration: none; }
.town-switch .on { background: var(--blue-700); color: #fff; border-color: var(--blue-700); }
.town-switch .off { color: var(--slate-400); background: var(--slate-50); }
.h2-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; margin: 0 0 1rem; }
.h2-row h2 { font-size: 1.35rem; }
.h2-row span { font-size: .86rem; color: var(--slate-500); font-weight: 600; }
.block { margin-bottom: 2.75rem; }

/* ---------- Listing page ---------- */
.biz-head { padding: clamp(2rem, 4vw, 3rem) 0 2rem; background: var(--slate-50); border-bottom: 1px solid var(--slate-200); }
.biz-head-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 900px) { .biz-head-grid { grid-template-columns: 1fr auto; } }
.biz-head h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; margin: .5rem 0 .45rem; }
.biz-sub { font-size: 1.05rem; color: var(--slate-600); margin: 0; }
.biz-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .9rem; }
.biz-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.35rem; }
.biz-score { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg); padding: 1.1rem 1.4rem; text-align: center; box-shadow: var(--shadow-sm); min-width: 11rem; }
.biz-score .num { display: flex; align-items: center; justify-content: center; gap: .45rem; font-size: 2.2rem; font-weight: 800; color: var(--slate-900); letter-spacing: -.03em; line-height: 1; }
.biz-score .num svg { width: 1.8rem; height: 1.8rem; color: var(--blue-600); }
.biz-score .lbl { font-size: .8rem; font-weight: 600; color: var(--slate-500); margin-top: .4rem; }
.biz-score .btn { margin-top: .85rem; }
.biz-logo { max-width: 10rem; max-height: 4.5rem; object-fit: contain; margin-bottom: .75rem; }
.biz-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); border: 1px solid var(--slate-200); margin-bottom: 1.75rem; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1rem; margin: 0; font-size: .93rem; }
.facts dt { color: var(--slate-500); display: flex; align-items: center; }
.facts dt svg { width: 1.1rem; height: 1.1rem; }
.facts dd { margin: 0; color: var(--slate-800); word-break: break-word; }
.hours { width: 100%; border-collapse: collapse; font-size: .9rem; }
.hours td { padding: .32rem 0; border-bottom: 1px solid var(--slate-100); }
.hours td:first-child { color: var(--slate-500); width: 6.5rem; font-weight: 500; }
.hours tr:last-child td { border-bottom: 0; }
.map-frame { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--slate-200); border-radius: var(--r); display: block; }

.endorsement { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r); padding: 1rem 1.15rem; margin-bottom: .75rem; display: grid; grid-template-columns: auto 1fr; gap: .15rem .9rem; align-items: start; box-shadow: var(--shadow-sm); }
.endorsement .seal { grid-row: span 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--blue-100); display: grid; place-items: center; font-weight: 800; font-size: 1rem; }
.endorsement .who { font-weight: 700; color: var(--slate-900); }
.endorsement .who span { font-size: .8rem; color: var(--slate-500); font-weight: 500; margin-left: .35rem; }
.endorsement p { margin: 0; color: var(--slate-700); font-size: .95rem; }
.endorse-empty { border: 1px dashed var(--slate-300); border-radius: var(--r); padding: 1.5rem; text-align: center; color: var(--slate-600); background: var(--slate-50); }
.endorse-empty p { margin-bottom: .9rem; }

.endorse-panel { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 1.4rem; }
.endorse-panel h2 { font-size: 1.25rem; margin-bottom: .4rem; }
.endorse-panel p { font-size: .93rem; color: var(--slate-600); }
.endorse-panel .fine, .fine { font-size: .8rem; color: var(--slate-500); margin: .85rem 0 0; }

/* ---------- Forms ---------- */
.field { display: block; margin-bottom: 1rem; }
.field > span { display: block; font-weight: 600; font-size: .88rem; color: var(--slate-800); margin-bottom: .35rem; }
.field > span small { font-weight: 500; color: var(--slate-500); }
.input, .field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--font); color: var(--slate-900); background: #fff; border: 1px solid var(--slate-300); border-radius: var(--r-sm); padding: .65rem .8rem; box-shadow: var(--shadow-sm); transition: border-color .15s ease, box-shadow .15s ease; }
.field textarea { min-height: 6.5rem; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-100); }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.radios { display: flex; flex-wrap: wrap; gap: .45rem; }
.radios label { cursor: pointer; }
.radios input { position: absolute; opacity: 0; pointer-events: none; }
.radios span { display: inline-block; padding: .5rem .9rem; border-radius: var(--r-sm); border: 1px solid var(--slate-300); background: #fff; font-weight: 600; font-size: .9rem; color: var(--slate-700); box-shadow: var(--shadow-sm); }
.radios input:checked + span { background: var(--blue-50); border-color: var(--blue-600); color: var(--blue-700); box-shadow: 0 0 0 1px var(--blue-600); }
.radios input:focus-visible + span { outline: 2px solid var(--blue-600); outline-offset: 2px; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--slate-700); margin-bottom: 1rem; }
.check input { width: 1.05rem; height: 1.05rem; margin-top: .2rem; accent-color: var(--blue-700); flex: none; }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { border-radius: var(--r-sm); padding: .75rem 1rem; font-size: .93rem; margin: .25rem 0 1rem; display: none; border: 1px solid transparent; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--blue-50); color: var(--blue-800); border-color: var(--blue-100); }
.form-msg.err { background: var(--red-50); color: var(--red-700); border-color: var(--red-100); }
.count-note { font-size: .76rem; color: var(--slate-500); text-align: right; margin-top: .25rem; }

/* ---------- Steps / pledge / recent ---------- */
.steps { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-lg); padding: 1.35rem; }
.step .num { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--blue-600); color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: .9rem; }
.step h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.step p { font-size: .94rem; margin: 0; color: var(--slate-300); }
.recent { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 820px) { .recent { grid-template-columns: repeat(3, 1fr); } }
.recent-item { background: #fff; border-radius: var(--r); padding: 1.1rem 1.2rem; color: var(--slate-700); }
.recent-item .who { font-size: .8rem; font-weight: 700; color: var(--blue-700); display: flex; align-items: center; gap: .35rem; }
.recent-item .who svg { width: 1rem; height: 1rem; }
.recent-item .biz { font-weight: 700; font-size: 1.05rem; color: var(--slate-900); margin: .35rem 0; }
.recent-item .biz a { color: inherit; }
.recent-item p { margin: 0; font-size: .92rem; color: var(--slate-600); }
.pledge { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .pledge { grid-template-columns: repeat(3, 1fr); } }
.pledge-item { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.pledge-item h3 { font-size: 1.12rem; margin: .9rem 0 .45rem; }
.pledge-item p { font-size: .94rem; color: var(--slate-600); margin: 0; }

/* Owner CTA */
.owner-cta { display: grid; gap: 1.5rem; align-items: center; background: var(--blue-700); color: var(--blue-100); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow-md); }
@media (min-width: 860px) { .owner-cta { grid-template-columns: 1fr auto; } }
.owner-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin-top: .5rem; }
.owner-cta p { margin: .55rem 0 0; max-width: 40rem; }
.owner-cta .eyebrow { color: #fff; }
.owner-cta .eyebrow::before { background: #fff; }
.owner-cta .btns { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--slate-400); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .25rem 0; font-size: .92rem; }
.site-footer a { color: var(--slate-300); }
.site-footer a:hover { color: #fff; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-name small { color: var(--slate-400); }
.footer-about { font-size: .92rem; margin-top: 1rem; max-width: 24rem; }
.footer-base { margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid var(--navy-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .82rem; }

/* ---------- Misc ---------- */
.results-note { font-size: .9rem; font-weight: 600; color: var(--slate-500); margin: 1.75rem 0 .75rem; }
.lost { text-align: center; padding: 5rem 0; }
.lost h1 { font-size: clamp(2rem, 5vw, 3rem); margin: .9rem 0; }
.lost .btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.5rem; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.muted { color: var(--slate-500); }
.hidden { display: none !important; }
