:root {
  --ink: #17211e;
  --muted: #66716d;
  --forest: #174c43;
  --forest-dark: #103a33;
  --forest-soft: #eaf2ef;
  --canvas: #f5f6f4;
  --paper: #ffffff;
  --surface: #fafbf9;
  --line: #dce2de;
  --line-strong: #cbd4cf;
  --amber: #a96025;
  --amber-soft: #f8eee5;
  --blue: #2469a8;
  --error: #a34434;
  --radius-sm: 0.625rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.125rem;
  --shadow-sm: 0 0.125rem 0.5rem rgba(24, 43, 37, 0.06);
  --shadow-md: 0 1rem 2.5rem rgba(24, 43, 37, 0.08);
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 0.1875rem solid rgba(36, 105, 168, 0.35);
  outline-offset: 0.125rem;
}

.icon,
button svg,
a svg {
  width: 1rem;
  height: 1rem;
  stroke-width: 1.8;
}

.skip {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 9999;
  padding: 0.625rem 0.875rem;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.skip:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(1rem, calc((100vw - 86rem) / 2));
  border-bottom: 0.0625rem solid rgba(23, 33, 30, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(1rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.85rem;
  height: 2.85rem;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 0.2rem var(--paper), 0 0 0 0.27rem rgba(23, 76, 67, 0.18);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  display: block;
  line-height: 1.05;
}

.brand-name b {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.brand-name span {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 500;
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.ghost-btn,
.primary-btn,
.quiet-btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  border-radius: 0.65rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.ghost-btn {
  padding: 0.65rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {

.ghost-btn:hover {
  background: var(--forest-soft);
  color: var(--forest);
}
}

.primary-btn {
  padding: 0.68rem 0.95rem;
  border: 0.0625rem solid var(--forest);
  background: var(--forest);
  color: var(--paper);
}

@media (hover: hover) and (pointer: fine) {

.primary-btn:hover {
  border-color: var(--forest-dark);
  background: var(--forest-dark);
}
}

.primary-btn:active,
.quiet-btn:active { transform: translateY(0.0625rem); }

.quiet-btn {
  padding: 0.68rem 0.95rem;
  border: 0.0625rem solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {

.quiet-btn:hover {
  border-color: #aebbb4;
  background: var(--surface);
}
}

main#top {
  display: flex;
  flex-direction: column;
}

.hero {
  order: 2;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 2.5rem clamp(1rem, 3vw, 2rem) 2.75rem;
}

.hero-content {
  display: block;
}

.hero-copy { max-width: 49rem; }

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--forest);
}

h1 {
  max-width: 48rem;
  margin: 0;
  font-size: clamp(1.9rem, 2.7vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

h1 span {
  display: inline;
  color: var(--forest);
}

.hero-lede {
  max-width: 37rem;
  margin: 1rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-facts span + span::before {
  width: 0.2rem;
  height: 0.2rem;
  margin-right: 0.8rem;
  border-radius: 50%;
  background: #aeb8b3;
  content: "";
}

.hero-facts strong { color: var(--ink); }
.hero-facts .icon { width: 0.78rem; }

.mission {
  order: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 46rem);
  gap: 1rem;
  align-items: start;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 2.25rem;
  border-top: 0.0625rem solid var(--line);
}

.mission-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.75rem;
  background: var(--amber-soft);
  color: var(--amber);
}

.mission-mark svg { width: 1.1rem; }
.section-kicker { margin: 0 0 0.35rem; color: var(--amber); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.mission h2 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -0.035em; }
.mission p:last-child { max-width: 43rem; margin: 0.65rem 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.7; }

.explorer {
  order: 1;
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 1rem clamp(0.75rem, 2vw, 2rem) 0;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto auto;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.55rem;
  padding: 0.55rem;
  border: 0.0625rem solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.search-wrap { position: relative; }

.search-wrap > .icon {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: var(--muted);
}

.search,
.select {
  height: 2.75rem;
  border: 0.0625rem solid transparent;
  border-radius: 0.55rem;
  background: var(--surface);
  color: var(--ink);
  outline: 0;
}

.search {
  width: 100%;
  padding: 0 2.75rem;
  font-size: 0.875rem;
}

.search::placeholder { color: #7a8580; }

.search:focus,
.select:focus {
  border-color: #8ca59c;
  background: var(--paper);
  box-shadow: 0 0 0 0.1875rem rgba(23, 76, 67, 0.08);
}

.search-clear {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.search-clear.show { display: grid; }
@media (hover: hover) and (pointer: fine) {
.search-clear:hover { background: var(--forest-soft); }
}

.select {
  min-width: 9.5rem;
  padding: 0 2rem 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.locate-btn {
  height: 2.75rem;
  min-height: 2.75rem;
  white-space: nowrap;
}

.locate-btn.live { background: #24685d; }

.location-line {
  display: flex;
  min-height: 2rem;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0.2rem 0.55rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.location-line .icon { width: 0.85rem; }
.location-line.error { color: var(--error); }
.location-line.live { color: var(--forest); }

.pulse {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
}

.mobile-switch {
  display: none;
  margin-bottom: 0.55rem;
  padding: 0.2rem;
  border: 0.0625rem solid var(--line);
  border-radius: 0.75rem;
  background: #e9ece9;
}

.mobile-switch button {
  display: flex;
  min-height: 2.5rem;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 0.55rem;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.mobile-switch button.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(21rem, 0.78fr);
  height: min(45rem, calc(100dvh - 8.5rem));
  min-height: 36rem;
  overflow: hidden;
  border: 0.0625rem solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.map-panel {
  position: relative;
  min-width: 0;
}

.map {
  width: 100%;
  height: 100%;
  background: #dfe7e2;
}

.list-panel {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
  border-left: 0.0625rem solid var(--line);
  background: var(--paper);
}

.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 0.0625rem solid var(--line);
}

.list-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.list-head p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.result-count {
  flex: 0 0 auto;
  padding: 0.3rem 0.48rem;
  border-radius: 99rem;
  background: var(--forest-soft);
  color: var(--forest);
  font-size: 0.62rem;
  font-weight: 800;
}

.list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.brewery-card {
  position: relative;
  padding: 0.9rem 1rem;
  border-bottom: 0.0625rem solid var(--line);
  background: var(--paper);
  cursor: pointer;
  transition: background 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {

.brewery-card:hover { background: #f7f9f7; }
}

.brewery-card.active {
  background: var(--forest-soft);
  box-shadow: inset 0.2rem 0 0 var(--forest);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-main {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.65rem;
}

.card-main > div { min-width: 0; }

.brewery-card h3 {
  margin: 0 0 0.32rem;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.distance {
  flex: 0 0 auto;
  padding: 0.24rem 0.4rem;
  border-radius: 99rem;
  background: var(--amber-soft);
  color: #874719;
  font-size: 0.58rem;
  font-weight: 800;
}

.card-address {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.45;
}

.card-address .icon {
  width: 0.78rem;
  height: 0.78rem;
  flex: 0 0 auto;
  margin-top: 0;
}

.address-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: inherit;
  text-decoration-color: #a9b2ad;
  text-underline-offset: 0.16rem;
}

@media (hover: hover) and (pointer: fine) {

.address-link:hover { color: var(--forest); }
}

.hours-status {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 750;
  line-height: 1.35;
}

.card-hours { margin-top: 0.38rem; }

.card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin-top: 0.48rem;
}

.amenity-icon {
  display: inline-grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border: 0.0625rem solid var(--line);
  border-radius: 0.45rem;
  background: var(--surface);
  color: var(--forest);
}

.amenity-icon .icon { width: 0.86rem; height: 0.86rem; }

.today-hours {
  margin-top: 0.16rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1.35;
}

.hours-dot {
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 0.42rem;
  border-radius: 50%;
  background: #929993;
}

.hours-status.open { color: #267044; }
.hours-status.open .hours-dot { background: #2e8b57; }
.hours-status.closed { color: #7a4a27; }
.hours-status.closed .hours-dot { background: #b66a34; }

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.55rem;
}

.beer-count,
.details-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-decoration: none;
}

.beer-count { color: var(--muted); }
.details-link { color: var(--forest); }
.beer-count .icon,
.details-link .icon { width: 0.75rem; }

.empty {
  padding: 3rem 1.25rem;
  color: var(--muted);
  text-align: center;
}

.empty .icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.625rem;
}

.brewery-logo {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  overflow: hidden;
  place-items: center;
  border: 0.0625rem solid var(--line);
  border-radius: 0.6rem;
  background: var(--forest-soft);
  color: var(--forest);
  font-size: 0.65rem;
  font-weight: 800;
}

.brewery-logo img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper);
}

.brewery-logo img + .logo-initials { display: none; }

.leaflet-control-zoom {
  border: 0 !important;
  box-shadow: 0 0.35rem 1rem rgba(23, 33, 30, 0.14) !important;
}

.leaflet-control-zoom a {
  border-color: var(--line) !important;
  color: var(--ink) !important;
}

.leaflet-control-attribution { font-size: 0.55rem !important; }
.user-marker { border: 0; background: transparent; }

.cluster {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 0.15rem solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: var(--forest);
  color: var(--paper);
  box-shadow: 0 0.25rem 0.75rem rgba(23, 33, 30, 0.2);
  font-size: 0.68rem;
  font-weight: 800;
}

.user-dot {
  width: 1.15rem;
  height: 1.15rem;
  border: 0.22rem solid var(--paper);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0.4rem rgba(36, 105, 168, 0.16), 0 0.2rem 0.5rem rgba(23, 33, 30, 0.2);
}

.detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  background: rgba(16, 26, 23, 0.46);
  opacity: 0;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.detail-overlay.open {
  visibility: visible;
  opacity: 1;
}

.detail-panel {
  width: min(34rem, 100%);
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  transform: translateX(100%);
  background: var(--paper);
  box-shadow: -1rem 0 3rem rgba(16, 26, 23, 0.16);
  transition: transform 0.22s ease;
}

.detail-overlay.open .detail-panel { transform: none; }

.detail-hero {
  position: relative;
  padding: 4rem 1.75rem 1.5rem;
  border-bottom: 0.0625rem solid var(--line);
  background: var(--surface);
}

.detail-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.4rem;
  min-height: 2.4rem;
  height: 2.4rem;
  border: 0.0625rem solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {

.detail-close:hover { background: var(--forest-soft); }
}

.brewery-logo.detail-logo {
  position: relative;
  z-index: 1;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  border-radius: 0.8rem;
  font-size: 1rem;
}

.detail-kicker {
  display: block;
  color: var(--forest);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-title {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.8rem, 5vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.detail-location {
  display: flex;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.detail-location .icon { width: 0.9rem; }

.detail-location a {
  color: inherit;
  text-decoration-color: #a9b2ad;
  text-underline-offset: 0.16rem;
}

.detail-hours {
  margin-top: 0.85rem;
  font-size: 0.72rem;
}

.hours-list {
  display: grid;
  gap: 0.15rem;
}

.hours-row {
  display: grid;
  grid-template-columns: minmax(6.25rem, 1fr) auto;
  gap: 1rem;
  padding: 0.52rem 0;
  border-bottom: 0.0625rem solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

.hours-row:last-child { border-bottom: 0; }

.hours-row strong {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.hours-source,
.hours-unavailable {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.hours-source { margin: 0.8rem 0 0; }
.hours-unavailable { margin: 0; }
.hours-source a { color: inherit; text-underline-offset: 0.14rem; }
.permanent-closure strong { color: var(--ink); }

.detail-actions {
  position: sticky;
  top: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 0.0625rem solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(0.75rem);
}

.detail-action {
  display: flex;
  height: 2.65rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0.0625rem solid var(--line-strong);
  border-radius: 0.6rem;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.detail-action.primary {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--paper);
}

.detail-action.disabled {
  pointer-events: none;
  opacity: 0.42;
}

.detail-body { padding: 1.5rem 1.75rem 3.5rem; }
.detail-section { margin-bottom: 2rem; }

.detail-section h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  font-weight: 800;
}

.detail-section h3 .icon {
  width: 0.95rem;
  color: var(--forest);
}

.detail-section p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.72;
}

.detail-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-amenities li {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.65rem;
  border: 0.0625rem solid var(--line);
  border-radius: 0.55rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 750;
}

.detail-amenities .icon { width: 0.9rem; height: 0.9rem; color: var(--forest); }
.amenity-source { display:inline-flex; min-height:2.75rem; align-items:center; margin-left:0; padding:0 .2rem; color:var(--forest); font-size:0.62rem; font-weight:800; text-underline-offset:0.14rem; }

@media (max-width: 37.5rem) {
  .detail-amenities { display: grid; grid-template-columns: 1fr; }
  .detail-amenities li { display: grid; width: 100%; grid-template-columns: 1rem 1fr auto; column-gap: 0.5rem; }
}

.beer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.beer-chip {
  padding: 0.52rem 0.62rem;
  border: 0.0625rem solid var(--line);
  border-radius: 0.55rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.64rem;
}

.beer-chip strong {
  display: block;
  color: var(--ink);
  font-size: 0.7rem;
}

.beer-chip span { font-size: 0.58rem; }
.contact-list { display: grid; gap: 0.45rem; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.72rem 0.75rem;
  border: 0.0625rem solid transparent;
  border-radius: 0.6rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.76rem;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {

.contact-row:hover {
  border-color: var(--line);
  background: var(--forest-soft);
}
}

.contact-row .icon { color: var(--forest); }
.socials { display: flex; gap: 0.45rem; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.58rem 0.7rem;
  border: 0.0625rem solid var(--line);
  border-radius: 0.55rem;
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {

.social-btn:hover { background: var(--forest-soft); }
}

.site-footer {
  display: grid;
  gap: 0.65rem;
  max-width: 90rem;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 3.5rem);
  border-top: 0.0625rem solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.67rem;
}

.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }
.site-footer strong { color: var(--ink); }
.site-footer a { display: inline-flex; min-height: 2.25rem; align-items: center; padding: 0.3rem 0.2rem; color: var(--forest); font-size: 0.75rem; font-weight: 800; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
.site-footer a:hover { text-decoration: underline; }
}

@media (max-width: 56.25rem) {
  .site-header {
    height: 4rem;
    padding: 0 1rem;
  }

  .header-actions .ghost-btn { display: none; }
  .header-actions .primary-btn {
    min-height: 2.45rem;
    padding: 0.55rem 0.72rem;
    font-size: 0.7rem;
  }

  .hero {
    padding: 2rem 1rem 2.25rem;
  }

  .hero-copy { max-width: 42rem; }
  h1 { font-size: clamp(1.8rem, 6vw, 2.25rem); }

  .mission { grid-template-columns: auto minmax(0, 1fr); padding-top: 1.25rem; }

  .hero-lede {
    margin: 1rem 0 1.25rem;
    line-height: 1.55;
  }

  .explorer {
    margin: 0;
    padding: 0.75rem 0.625rem 0;
  }

  .toolbar { grid-template-columns: 1fr auto; }
  .search { font-size: 1rem; }
  .select { display: none; }

  .locate-btn {
    width: 2.75rem;
    padding: 0;
  }

  .locate-btn span { display: none; }
  .mobile-switch { display: flex; }

  .workspace {
    display: block;
    height: calc(100svh - 12.25rem);
    min-height: 32rem;
    border-radius: var(--radius-md);
  }

  .map-panel,
  .list-panel { height: 100%; }

  .list-panel {
    min-height: 0;
    overflow: hidden;
    border-left: 0;
  }

  .workspace[data-view="map"] .list-panel { display: none; }
  .workspace[data-view="list"] .map-panel { display: none; }

  .detail-overlay { align-items: flex-end; }

  .detail-panel {
    height: min(92svh, 52rem);
    transform: translateY(100%);
    border-radius: 1rem 1rem 0 0;
  }

  .detail-overlay.open .detail-panel { transform: none; }
  .detail-hero { padding: 3.75rem 1.25rem 1.35rem; }
  .detail-actions { padding: 0.7rem 0.9rem; }
  .detail-body { padding: 1.35rem 1.15rem 2.75rem; }

  .site-footer {
    display: block;
    padding: 1.35rem 1rem 2rem;
    line-height: 1.8;
  }
}

@media (max-width: 32.5rem) {
  .brand-name span { display: none; }
  .hero { padding-top: 1.7rem; }
  .hero-kicker { margin-bottom: 0.8rem; font-size: 0.65rem; }
  h1 { font-size: 1.75rem; }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .primary-btn,
  .hero-actions .quiet-btn {
    width: 100%;
    padding-inline: 0.65rem;
  }

  .location-line { align-items: flex-start; line-height: 1.4; }
  .brewery-card { padding: 0.85rem; }
  .card-address { max-width: 15.5rem; }
  .detail-title { font-size: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
