:root {
  --bg: #f5f1ea;
  --surface: #ffffff;
  --ink: #172029;
  --muted: #5a6472;
  --line: #e2dbcf;
  --brand: #1a4534;
  --brand-2: #2a634c;
  --brand-soft: #e7f1eb;
  --accent: #c9a227;
  --accent-ink: #1c2430;
  --badge: #7a3e12;
  --badge-bg: #fff4e4;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 12px 32px rgba(23, 32, 41, 0.08);
  --shadow-sm: 0 4px 14px rgba(23, 32, 41, 0.05);
  --max: 1100px;
  --header-h: 64px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --touch: 44px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand-2);
  outline-offset: 2px;
}

/* —— Header / nav —— */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.1rem;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  min-width: 0;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(26, 69, 52, 0.25);
}
.brand-text { line-height: 1.2; }
.brand-text small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.7rem;
  margin-top: 0.1rem;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  align-items: center;
  justify-content: flex-end;
}
.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.nav a:hover { color: var(--brand); background: var(--brand-soft); text-decoration: none; }
.nav a.active {
  color: var(--brand);
  background: var(--brand-soft);
}
.nav-cta {
  margin-left: 0.15rem;
  background: var(--brand) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.nav-cta:hover {
  filter: brightness(1.08);
  background: var(--brand) !important;
  color: #fff !important;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  min-height: var(--touch);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 10px rgba(26, 69, 52, 0.22);
}
.btn-secondary {
  background: #fff;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 2px 10px rgba(201, 162, 39, 0.28);
}
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--line);
}
.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.62;
  cursor: not-allowed;
  filter: none;
  box-shadow: none;
  transform: none;
}
.btn-block { width: 100%; }

main { flex: 1; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.35rem 1.1rem 2.75rem;
}

/* —— Hero —— */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(42, 99, 76, 0.12), transparent 55%),
    linear-gradient(165deg, #e4f0e9 0%, #f5f1ea 50%, #f0ebe2 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.2rem 1.1rem 2.6rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 820px) {
  .hero-inner {
    grid-template-columns: 1.35fr 1fr;
    align-items: center;
    padding: 2.8rem 1.1rem 3.2rem;
    gap: 2rem;
  }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--muted);
}
.hero h1 {
  margin: 0.75rem 0 0.65rem;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34rem;
  line-height: 1.55;
}
.hero-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}
.hero-actions .btn-primary,
.hero-actions .btn-accent {
  min-width: 10.5rem;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem 1.4rem;
}
.hero-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.hero-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.hero-card .hero-actions { margin-top: 1rem; }
.hero-card .hint { margin-top: 0.85rem; }
.hero-stat {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hint {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}
.meta { color: var(--muted); font-size: 0.9rem; }

/* —— Sections / cards —— */
.section-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin: 0 0 1.1rem;
}
.section-title h2 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}
.section-title span { color: var(--muted); font-size: 0.9rem; }

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  border-color: #cfd9d2;
  box-shadow: var(--shadow);
}
.card .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.15rem;
}
.card h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.card .phone { font-weight: 650; font-size: 0.95rem; }
.card .btn { margin-top: 0.45rem; align-self: flex-start; }

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--badge-bg);
  color: var(--badge);
  border: 1px solid #efd8b5;
}
.badge-sample {
  background: #eef2ff;
  color: #3730a3;
  border-color: #c7d2fe;
}
.badge-open {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: #b7d4c4;
}

/* —— Map —— */
.map-page { padding: 0; }
.map-layout {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - var(--header-h) - 56px);
}
@media (min-width: 900px) {
  .map-layout { grid-template-columns: 360px 1fr; }
}
.map-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  max-height: none;
}
@media (min-width: 900px) {
  .map-sidebar { max-height: calc(100vh - var(--header-h)); }
}
.map-filters {
  padding: 1.05rem 1.1rem;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
  background: linear-gradient(180deg, #faf8f4 0%, #fff 100%);
}
.map-filters .map-title {
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.map-filters label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.map-filters select,
.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  min-height: var(--touch);
  font: inherit;
  background: #fff;
  color: var(--ink);
}
.map-filters select:focus,
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(42, 99, 76, 0.12);
  outline: none;
}
.list-panel {
  overflow: auto;
  padding: 0.8rem;
  display: grid;
  gap: 0.65rem;
  max-height: 42vh;
}
@media (min-width: 900px) {
  .list-panel { max-height: none; flex: 1; }
}
.list-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.list-item:hover, .list-item.active {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 2px rgba(42, 99, 76, 0.14);
}
.list-item h3 {
  margin: 0.35rem 0 0.25rem;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.list-item .phone { font-weight: 650; font-size: 0.9rem; margin-top: 0.15rem; }
.list-item .list-actions {
  margin-top: 0.55rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.list-item .btn {
  padding: 0.45rem 0.8rem;
  min-height: 36px;
  font-size: 0.82rem;
}
#map {
  min-height: 380px;
  height: 100%;
  width: 100%;
  background: #d8e4dc;
}
@media (max-width: 899px) {
  #map { min-height: 48vh; order: -1; }
  .map-layout { display: flex; flex-direction: column; }
}
.leaflet-popup-content { margin: 0.75rem 0.9rem; }
.popup-card h3 { margin: 0.3rem 0 0.3rem; font-size: 1rem; }
.popup-card .meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 0.35rem; }
.popup-card .actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
.popup-card .btn {
  padding: 0.45rem 0.8rem;
  min-height: 36px;
  font-size: 0.82rem;
}

/* —— Page chrome —— */
.page-header { margin-bottom: 1.35rem; }
.page-header .pill { margin-bottom: 0.55rem; }
.page-header h1 {
  margin: 0.2rem 0 0.45rem;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.page-header p { margin: 0; color: var(--muted); max-width: 40rem; }

.detail {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 800px) {
  .detail { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
.detail-card, .form-card, .stub-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.detail-card h1 {
  margin: 0.45rem 0 0.5rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.02em;
}
.detail-meta {
  display: grid;
  gap: 0.5rem;
  margin: 1.1rem 0;
}
.detail-meta div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.45rem;
  font-size: 0.95rem;
}
.detail-meta span { color: var(--muted); }
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
  align-items: center;
}
.stub-card h2, .form-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.stub-card > p { margin: 0 0 0.85rem; color: var(--muted); }

.form { display: grid; gap: 0.85rem; }
.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 650;
  font-size: 0.9rem;
}
.form textarea { min-height: 110px; resize: vertical; }
.form .hint { font-weight: 500; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.15rem;
}
.alert {
  border-radius: 12px;
  padding: 0.9rem 1.05rem;
  background: #eef6f1;
  border: 1px solid #c7e0d2;
  color: var(--brand);
  font-weight: 600;
}
.alert.warn {
  background: #fff8e8;
  border-color: #efd8b5;
  color: #7a5a10;
}
.alert.hidden { display: none; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.1rem;
  display: grid;
  gap: 0.35rem;
}
.site-footer strong { color: var(--ink); }

.marker-pin {
  background: var(--brand);
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  width: 22px;
  height: 22px;
  transform: rotate(-45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 560px) {
  .form-row-2 { grid-template-columns: 1fr 1fr; }
}

/* —— Directions sheet —— */
.directions-block { display: inline-flex; }
.directions-sheet {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(23, 32, 41, 0.48);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.75rem;
}
.directions-sheet[hidden] { display: none !important; }
.directions-sheet-panel {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 18px 18px 14px 14px;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.18);
  display: grid;
  gap: 0.55rem;
}
.directions-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.directions-app { width: 100%; }
@media (min-width: 700px) {
  .directions-sheet { align-items: center; }
  .directions-sheet-panel { border-radius: 16px; }
}
body.sheet-open { overflow: hidden; }

.hours-fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem 1.05rem;
  display: grid;
  gap: 0.7rem;
  margin: 0;
  background: #faf8f4;
}
.hours-fieldset legend {
  padding: 0 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.hours-details summary {
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.hours-grid {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.65rem;
}
@media (min-width: 560px) {
  .hours-grid { grid-template-columns: 1fr 1fr; }
}

/* —— Business Join sandbox plans —— */
.plans {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.35rem 1.35rem 1.2rem;
  margin-bottom: 1.35rem;
}
.plans-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}
.plans-head h2 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}
.plans-intro {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 40rem;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 720px) {
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
}
.plan-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: #fff;
  position: relative;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.plan-card-featured {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 2px rgba(42, 99, 76, 0.14);
  background: linear-gradient(180deg, #f4faf7 0%, #fff 55%);
}
.plan-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
}
.plan-badge-popular {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: #b7d4c4;
}
.plan-card h3 {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
}
.plan-price {
  margin: 0.15rem 0 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem 0.25rem;
}
.plan-amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.plan-interval {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}
.plan-card .meta { margin: 0.15rem 0 0; font-size: 0.88rem; }
.plan-perks {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.3rem;
  flex: 1;
}
.plan-perks li {
  color: var(--muted);
  font-size: 0.85rem;
  padding-left: 1.15rem;
  position: relative;
}
.plan-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand-2);
  opacity: 0.55;
}
.plan-cta {
  margin-top: 0.85rem;
  width: 100%;
}
.plans-footnote { margin: 1rem 0 0; }
.plan-summary {
  margin: 0.5rem 0 1rem;
  padding-left: 1.15rem;
  color: var(--muted);
}
.plan-summary li { margin: 0.3rem 0; }
.plan-summary strong { color: var(--ink); }
.plan-card-selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.3);
}

/* —— Account / signin stubs —— */
.account-grid {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 700px) {
  .account-grid { grid-template-columns: 1fr 1fr; }
}

/* —— Mobile nav tighten —— */
@media (max-width: 560px) {
  .brand-text small { display: none; }
  .nav a { padding: 0.4rem 0.55rem; font-size: 0.85rem; }
  .nav-cta { padding: 0.4rem 0.75rem !important; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
  .form-actions .btn { flex: 1 1 auto; }
  .section-title { flex-direction: column; align-items: flex-start; }
  .detail-meta div { flex-direction: column; gap: 0.15rem; }
}

/* —— Home: full-width headline band, then search + map under it —— */
.hero-band {
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(42, 99, 76, 0.14), transparent 60%),
    linear-gradient(180deg, #e4f0e9 0%, #f5f1ea 70%, #f0ebe2 100%);
  border-bottom: 1px solid var(--line);
}
.hero-band-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.4rem 1.1rem 2.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-band .pill { margin-bottom: 0.15rem; }
.hero-band h1 {
  margin: 0.75rem 0 0.65rem;
  font-size: clamp(1.9rem, 4.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 22ch;
}
.hero-band .hero-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36rem;
  line-height: 1.55;
}

.home-main { padding-top: 1.5rem; }
.home-discover {
  display: grid;
  gap: 1.1rem;
  margin-bottom: 2.25rem;
}

.search-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.3rem 1.15rem;
  display: grid;
  gap: 0.95rem;
}
.search-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.85rem;
}
.search-panel-head strong {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.search-fields {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .search-fields {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: end;
  }
}
.search-field {
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.search-field .hint-inline {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.78rem;
}
.search-field select,
.search-field input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  min-height: var(--touch);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  background: #fff;
}
.search-field select:focus,
.search-field input:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(42, 99, 76, 0.12);
  outline: none;
}
.search-submit {
  min-width: 7.5rem;
  width: 100%;
}
@media (min-width: 640px) {
  .search-submit { width: auto; }
}
.search-alt {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.search-alt a { font-weight: 650; }

.home-map-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.home-map-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #faf8f4 0%, #fff 100%);
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--muted);
}
.home-map-expand {
  font-weight: 700;
  font-size: 0.88rem;
}
#home-map {
  width: 100%;
  height: min(52vh, 420px);
  min-height: 280px;
  background: #d8e4dc;
}

.home-section { margin-bottom: 2.25rem; }
.home-more { margin: 1.15rem 0 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}
.category-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.2rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.12s ease, box-shadow 0.12s ease, transform 0.1s ease;
  min-height: 120px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  width: 100%;
}
.category-card:hover {
  text-decoration: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 2px rgba(42, 99, 76, 0.12), var(--shadow);
  transform: translateY(-1px);
}
.category-card.active {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 2px rgba(42, 99, 76, 0.18), var(--shadow-sm);
  background: linear-gradient(180deg, #f4faf7 0%, #fff 60%);
}
.category-card-label {
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}
.category-card-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-2);
}
.category-card-blurb {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.join-strip {
  background: linear-gradient(135deg, #e8f2ec 0%, #fff 55%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.join-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}
.join-strip h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.join-strip p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}
.join-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

@media (max-width: 560px) {
  .search-submit { width: 100%; }
  .join-strip-actions { width: 100%; }
  .join-strip-actions .btn { flex: 1 1 auto; }
  .hero-band-inner { padding: 1.85rem 1.1rem 1.75rem; text-align: left; align-items: flex-start; }
  .hero-band h1 { max-width: none; }
}
