:root {
  --bg: #000;
  --panel: rgba(13, 13, 13, 0.9);
  --panel-strong: rgba(18, 18, 18, 0.96);
  --line: rgba(255, 255, 255, 0.14);
  --line-accent: rgba(204, 255, 0, 0.34);
  --text: #f7f7f7;
  --text-dim: #b7b7b7;
  --text-muted: #777;
  --accent: #ccff00;
  --accent-dark: #86a800;
  --warm: #f7c66a;
  --radius: 8px;
  --shadow: 0 24px 80px -42px rgba(204, 255, 0, 0.35), 0 20px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(65% 55% at 14% 8%, rgba(204, 255, 0, 0.12), transparent 62%),
    radial-gradient(50% 42% at 90% 20%, rgba(247, 198, 106, 0.08), transparent 62%),
    linear-gradient(rgba(204, 255, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 255, 0, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 96px 96px, 96px 96px;
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #e2ff5a;
}

img {
  max-width: 100%;
  border-radius: var(--radius);
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border: 1px solid rgba(204, 255, 0, 0.3);
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

.topbar nav a {
  color: var(--text-dim);
}

.topbar nav a:hover {
  color: var(--accent);
}

.tool-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin: 18px 0 18px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(204, 255, 0, 0.7);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: min(900px, 100%);
  margin-bottom: 14px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.lede {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--text-dim);
  font-size: clamp(18px, 1.6vw, 22px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 10px;
  min-width: 360px;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.hero-stats strong {
  display: block;
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 12px;
}

.finder-grid {
  display: grid;
  grid-template-columns: minmax(270px, 330px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 22px;
}

.finder-grid-primary {
  margin-top: 10px;
}

.filter-panel,
.map-card,
.cta-panel,
.venue-support-panel,
.venue-brief-panel,
.planning-strip,
.browse-guides,
.seo-guide,
.data-methodology,
.compare-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.filter-panel {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 122px);
  overflow-y: auto;
  padding: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(204, 255, 0, 0.35) transparent;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.panel-heading span {
  color: var(--text);
  font-size: 16px;
  font-weight: 850;
}

.panel-heading button,
.panel-heading small {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.filter-field {
  display: block;
  margin-bottom: 12px;
}

.filter-field span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 750;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  outline: none;
  background: #090909;
  color: var(--text);
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.12);
}

.area-filter {
  padding: 12px;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius);
  background: rgba(204, 255, 0, 0.06);
}

.area-filter span {
  color: var(--accent);
  font-size: 13px;
}

.area-filter select {
  border-color: rgba(204, 255, 0, 0.28);
}

.search-filter input {
  border-color: rgba(204, 255, 0, 0.24);
  background:
    linear-gradient(90deg, rgba(204, 255, 0, 0.06), transparent 46%),
    #090909;
}

.quick-filters {
  margin: 4px 0 12px;
}

.quick-filters > span {
  display: block;
  margin-bottom: 7px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 750;
}

.quick-filters > div,
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quick-filters button,
.active-filters button {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.quick-filters button.is-active,
.quick-filters button[aria-pressed="true"] {
  border-color: var(--line-accent);
  background: var(--accent);
  color: #050505;
}

.active-filters {
  min-height: 28px;
  margin-bottom: 6px;
}

.active-filters button {
  border-color: rgba(204, 255, 0, 0.22);
  background: rgba(204, 255, 0, 0.07);
  color: var(--accent);
}

.active-filters-empty {
  color: var(--text-muted);
  font-size: 11px;
}

.shortlist-panel {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.shortlist-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 46px;
  margin-bottom: 12px;
}

.empty-note,
.data-note {
  color: var(--text-muted);
  font-size: 12px;
}

.data-note {
  margin: 14px 0 0;
}

.shortlist-pill {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(204, 255, 0, 0.18);
  border-radius: var(--radius);
  background: rgba(204, 255, 0, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.shortlist-pill button {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  color: var(--text-dim);
  cursor: pointer;
}

.button {
  display: inline-flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.1;
}

.button + .button {
  margin-top: 8px;
}

.button.primary {
  background: var(--accent);
  color: #050505;
}

.button.secondary {
  border: 1px solid var(--line-accent);
  color: var(--accent);
  background: rgba(204, 255, 0, 0.07);
}

.button.compare-button {
  margin-bottom: 8px;
  border: 1px solid rgba(121, 226, 255, 0.3);
  background: rgba(121, 226, 255, 0.08);
  color: #a9edff;
}

.button.compare-button:disabled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  cursor: not-allowed;
}

.map-results {
  min-width: 0;
}

.mobile-view-toggle {
  display: none;
}

.map-card {
  position: relative;
  overflow: hidden;
}

#venue-map {
  width: 100%;
  height: min(58vh, 600px);
  min-height: 420px;
  background: #0a0a0a;
}

.map-gesture-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 500;
  max-width: calc(100% - 80px);
  padding: 7px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.leaflet-container {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #0a0a0a;
}

.leaflet-container img,
.leaflet-container .leaflet-tile {
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #111;
  color: var(--text);
  border: 1px solid rgba(204, 255, 0, 0.28);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.leaflet-popup-content {
  margin: 12px 14px;
}

.popup-title {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 850;
}

.popup-meta {
  color: var(--text-dim);
  font-size: 12px;
}

.popup-capacity {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 750;
}

.venue-marker {
  display: flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 2px solid #050505;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.18), 0 10px 30px rgba(0, 0, 0, 0.45);
}

.venue-marker.outdoor {
  background: #79e2ff;
}

.venue-marker.hotel {
  background: var(--accent);
}

.venue-marker.restaurant {
  background: var(--warm);
}

.venue-marker.culture {
  background: #d5b6ff;
}

.venue-marker.conference {
  background: #8ff0b6;
}

.venue-marker.venue-cluster {
  width: 34px;
  height: 34px;
  border-color: var(--accent);
  background: #050505;
  color: var(--accent);
  font-size: 12px;
  box-shadow:
    0 0 0 6px rgba(204, 255, 0, 0.14),
    0 14px 34px rgba(0, 0, 0, 0.5);
}

.map-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 12px;
}

.result-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 12px;
}

.result-header h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.12;
  letter-spacing: 0;
}

.result-tools {
  display: flex;
  flex-shrink: 0;
  align-items: end;
  gap: 8px;
}

.result-tools label {
  display: grid;
  gap: 4px;
}

.result-tools label span {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-tools select,
.result-tools button {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090909;
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
}

.result-tools button {
  border-color: var(--line-accent);
  color: var(--accent);
  cursor: pointer;
}

.share-status {
  min-height: 20px;
  margin: -6px 0 8px;
  color: var(--accent);
  font-size: 12px;
}

.text-link {
  flex-shrink: 0;
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 800;
}

.text-link:hover {
  color: var(--accent);
}

.result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.venue-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  min-width: 0;
}

.venue-card.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.1);
}

.venue-thumb {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 10;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(204, 255, 0, 0.07), transparent 56%),
    #080808;
}

.venue-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.confidence-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.88);
  color: var(--text-dim);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.confidence-high {
  border-color: rgba(204, 255, 0, 0.35);
  color: var(--accent);
}

.confidence-limited {
  border-color: rgba(247, 198, 106, 0.35);
  color: var(--warm);
}

.venue-location-card {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  background:
    linear-gradient(rgba(204, 255, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204, 255, 0, 0.1) 1px, transparent 1px),
    #0a0d05;
  background-size: 24px 24px;
}

.venue-location-card span,
.venue-location-card small {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.venue-location-card strong {
  max-width: 100%;
  color: var(--text);
  font-size: 18px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.venue-body {
  min-width: 0;
}

.venue-summary {
  padding-top: 14px;
}

.venue-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 800;
}

.tag.accent {
  background: rgba(204, 255, 0, 0.13);
  color: var(--accent);
}

.tag.setting {
  border: 1px solid rgba(121, 226, 255, 0.24);
  background: rgba(121, 226, 255, 0.08);
  color: #a9edff;
}

.setting-tags {
  margin-top: 2px;
}

.venue-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.15;
}

.venue-address,
.venue-note,
.venue-facts {
  margin: 0 0 8px;
  color: var(--text-dim);
  font-size: 13px;
}

.image-credit {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 10px;
}

.image-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.venue-facts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.venue-facts span:first-child {
  color: var(--text);
  font-weight: 750;
}

.venue-details {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.venue-details summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 2px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.venue-details summary::-webkit-details-marker {
  display: none;
}

.venue-details summary::after {
  content: "+";
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-accent);
  border-radius: 999px;
  font-size: 17px;
  line-height: 1;
}

.venue-details[open] summary::after {
  content: "−";
}

.venue-details summary small {
  display: none;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 650;
}

.venue-detail-content {
  padding: 2px 2px 14px;
}

.space-table {
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.space-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.025);
}

.space-row + .space-row {
  border-top: 1px solid var(--line);
}

.space-row > div {
  display: grid;
  gap: 3px;
  align-content: start;
}

.space-row strong,
.space-row span {
  font-size: 12px;
}

.space-row small {
  color: var(--text-muted);
  font-size: 10px;
}

.space-empty {
  margin: 12px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.source-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 11px;
}

.venue-site-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius);
  background: rgba(204, 255, 0, 0.07);
  font-size: 12px;
  font-weight: 850;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.compare-panel {
  margin: 12px 0;
  padding: 18px;
  scroll-margin-top: 110px;
}

.compare-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.compare-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
}

.compare-heading button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table-wrap table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 12px;
}

.compare-table-wrap th,
.compare-table-wrap td {
  min-width: 155px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table-wrap thead th {
  background: rgba(204, 255, 0, 0.08);
  color: var(--accent);
}

.compare-table-wrap tbody th {
  min-width: 135px;
  color: var(--text-dim);
}

.load-more-wrap {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 16px;
}

.load-more-wrap .button {
  width: min(300px, 100%);
}

.load-more-wrap span {
  color: var(--text-muted);
  font-size: 11px;
}

.results-cta {
  display: block;
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.venue-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.venue-actions button,
.venue-actions a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius);
  background: rgba(204, 255, 0, 0.08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.venue-actions button.is-selected {
  background: var(--accent);
  color: #000;
}

.no-results {
  grid-column: 1 / -1;
  padding: 32px;
  border: 1px dashed var(--line-accent);
  border-radius: var(--radius);
  color: var(--text-dim);
  text-align: center;
}

.planning-strip {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
  margin-top: 26px;
  padding: 22px;
}

.browse-guides {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 1.35fr);
  gap: 20px;
  margin-top: 16px;
  padding: 22px;
}

.browse-guides h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.guide-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.guide-links a {
  display: grid;
  gap: 4px;
  min-height: 92px;
  align-content: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.guide-links a:first-child {
  grid-row: span 2;
  min-height: 192px;
  background:
    linear-gradient(145deg, rgba(204, 255, 0, 0.12), transparent 68%),
    rgba(255, 255, 255, 0.035);
}

.guide-links a:hover {
  border-color: var(--line-accent);
  background-color: rgba(204, 255, 0, 0.07);
  transform: translateY(-2px);
}

.guide-links strong {
  color: var(--accent);
  font-size: 15px;
}

.guide-links span {
  color: var(--text-dim);
  font-size: 12px;
}

.planning-strip h2,
.cta-panel h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.planning-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.planning-steps article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.planning-steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-weight: 900;
}

.planning-steps h3 {
  margin: 0 0 8px;
}

.planning-steps p,
.cta-panel p {
  margin-bottom: 0;
  color: var(--text-dim);
}

.seo-guide {
  margin-top: 16px;
  padding: 22px;
}

.seo-guide-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px 28px;
  align-items: end;
}

.seo-guide-heading .section-kicker {
  grid-column: 1 / -1;
}

.seo-guide-heading h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.seo-guide-heading p,
.seo-guide-grid p,
.seo-guide-link {
  margin-bottom: 0;
  color: var(--text-dim);
}

.seo-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.seo-guide-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.seo-guide-grid h3 {
  margin-bottom: 8px;
}

.seo-guide-link {
  margin-top: 16px;
}

.seo-guide-link a {
  color: var(--accent);
  font-weight: 800;
}

.data-methodology {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 22px;
  margin-top: 16px;
  padding: 22px;
}

.data-methodology h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.methodology-grid p {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-dim);
  font-size: 12px;
}

.methodology-grid strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 13px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: 16px;
  padding: 22px;
}

.cta-actions {
  width: min(280px, 100%);
}

.venue-support-panel,
.venue-brief-panel {
  margin-top: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.venue-support-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: center;
  background:
    linear-gradient(140deg, rgba(204, 255, 0, 0.1), transparent 55%),
    var(--panel);
}

.venue-support-panel h2,
.venue-brief-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.04;
}

.venue-support-panel p,
.venue-brief-heading p {
  margin-bottom: 0;
  color: var(--text-dim);
}

.venue-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.venue-support-grid article {
  min-height: 160px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.32);
}

.venue-support-grid span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--line-accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.venue-support-grid h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.venue-support-grid p {
  color: var(--text-dim);
  font-size: 12px;
}

.venue-brief-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.venue-brief-heading {
  position: sticky;
  top: 104px;
}

.venue-brief-form {
  display: grid;
  gap: 14px;
}

.venue-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.venue-brief-form label {
  display: grid;
  gap: 6px;
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 800;
}

.venue-brief-form input,
.venue-brief-form select,
.venue-brief-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  outline: none;
  background: #090909;
  color: var(--text);
  resize: vertical;
}

.venue-brief-form input:focus,
.venue-brief-form select:focus,
.venue-brief-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.12);
}

.venue-brief-form input[type="file"] {
  padding: 9px;
}

.form-helper,
.form-status {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
}

.form-status {
  min-height: 18px;
  color: var(--accent);
}

.venue-form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.venue-form-actions .button + .button {
  margin-top: 0;
}

.venue-category-page .tool-hero {
  grid-template-columns: minmax(0, 1fr);
  padding: clamp(24px, 5vw, 64px) 0 20px;
}

.venue-category-page .tool-hero h1 {
  max-width: 1100px;
}

.category-summary {
  align-items: center;
}

.category-summary > p {
  margin: 0;
  color: var(--text-dim);
  font-size: 16px;
}

.category-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 8px;
  margin: 16px 0 28px;
}

.category-actions .button + .button {
  margin-top: 0;
}

.venue-category-page .venue-card {
  content-visibility: auto;
  contain-intrinsic-size: 650px;
}

.venue-category-page .venue-summary h3 a:hover {
  color: var(--accent);
}

.detail-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0 6px;
  color: var(--text-muted);
  font-size: 12px;
}

.detail-breadcrumbs a:hover {
  color: var(--accent);
}

.venue-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(34px, 6vw, 86px) 0 44px;
}

.venue-detail-copy h1 {
  max-width: 900px;
  margin-bottom: 20px;
}

.venue-detail-copy .lede {
  max-width: 760px;
}

.venue-detail-address {
  margin: 18px 0 0;
  color: var(--text-dim);
}

.venue-detail-image {
  margin: 0;
}

.venue-detail-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.venue-detail-image figcaption {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 11px;
}

.capacity-audit-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.75fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
  padding: 24px;
  border: 1px solid var(--line-accent);
  border-radius: var(--radius);
  background:
    linear-gradient(125deg, rgba(204, 255, 0, 0.11), transparent 48%),
    var(--panel);
}

.capacity-audit-card h2 {
  margin: 5px 0 9px;
  font-size: clamp(25px, 3vw, 38px);
}

.capacity-audit-card p {
  max-width: 780px;
  margin: 0;
  color: var(--text-dim);
}

.capacity-audit-card dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.capacity-audit-card dl div {
  display: grid;
  gap: 2px;
}

.capacity-audit-card dt {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capacity-audit-card dd {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
}

.detail-section {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.detail-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.detail-section-heading h2,
.detail-panel h2 {
  margin: 5px 0 0;
  font-size: clamp(25px, 3vw, 38px);
}

.detail-section-heading > p {
  max-width: 650px;
  margin: 0;
  color: var(--text-dim);
  font-size: 13px;
}

.space-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.venue-detail-page .space-table {
  width: 100%;
  min-width: 660px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.venue-detail-page .space-table th,
.venue-detail-page .space-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-size: 12px;
}

.venue-detail-page .space-table th:first-child {
  text-align: left;
}

.venue-detail-page .space-table thead th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.venue-detail-page .space-table tbody tr:last-child th,
.venue-detail-page .space-table tbody tr:last-child td {
  border-bottom: 0;
}

.detail-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.detail-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.detail-check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.detail-check-list li {
  position: relative;
  padding: 12px 12px 12px 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  font-size: 13px;
}

.detail-check-list li::before {
  position: absolute;
  top: 11px;
  left: 13px;
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

.related-venue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-venue-card {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.related-venue-card:hover {
  border-color: var(--line-accent);
  transform: translateY(-2px);
}

.related-venue-card img {
  width: 100%;
  aspect-ratio: 21 / 13;
  margin-bottom: 7px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

.related-venue-card span,
.related-venue-card small {
  color: var(--text-muted);
  font-size: 10px;
}

.related-venue-card strong {
  font-size: 15px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 13px;
}

.back-to-top {
  position: fixed;
  left: max(18px, calc((100vw - 1480px) / 2 + 18px));
  bottom: 20px;
  z-index: 900;
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line-accent);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.94);
  color: var(--accent);
  font-size: 19px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(10px);
}

.back-to-top span {
  font-size: 10px;
  text-transform: uppercase;
}

.back-to-top:hover {
  background: var(--accent);
  color: #000;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .tool-hero,
  .finder-grid,
  .planning-strip,
  .browse-guides,
  .seo-guide-heading,
  .data-methodology,
  .cta-panel,
  .venue-support-panel,
  .venue-brief-panel {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    min-width: 0;
  }

  .filter-panel {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .venue-brief-heading {
    position: static;
  }

  .venue-detail-hero,
  .capacity-audit-card {
    grid-template-columns: 1fr;
  }

  .venue-detail-image {
    order: -1;
  }
}

@media (max-width: 840px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  .site-shell {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    padding-top: 12px;
    overflow-x: hidden;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--radius);
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .topbar nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    gap: 8px;
    font-size: 12px;
  }

  .topbar nav a {
    min-width: 0;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    text-align: center;
  }

  main,
  .tool-hero,
  .finder-grid,
  .filter-panel,
  .map-results,
  .map-card,
  .hero-stats,
  .planning-strip,
  .browse-guides,
  .seo-guide,
  .data-methodology,
  .cta-panel,
  .venue-support-panel,
  .venue-brief-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .lede {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .result-list,
  .planning-steps,
  .guide-links,
  .seo-guide-grid,
  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .venue-support-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .venue-form-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-two-column,
  .related-venue-grid {
    grid-template-columns: 1fr;
  }

  .detail-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-stats div {
    padding: 12px 10px;
  }

  .hero-stats strong {
    font-size: 25px;
  }

  .hero-stats span {
    font-size: 10px;
  }

  h1 {
    font-size: clamp(34px, 10.4vw, 42px);
    line-height: 1.05;
  }

  #venue-map {
    min-height: 360px;
    height: 52vh;
  }

  .mobile-view-toggle {
    position: sticky;
    top: 8px;
    z-index: 9;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 8, 8, 0.94);
    backdrop-filter: blur(12px);
  }

  .finder-grid-primary {
    margin-top: 8px;
  }

  .finder-grid-primary .map-results {
    order: -1;
  }

  .mobile-view-toggle button {
    min-height: 38px;
    border: 0;
    border-radius: calc(var(--radius) - 2px);
    background: transparent;
    color: var(--text-dim);
    font-weight: 850;
  }

  .mobile-view-toggle button[aria-pressed="true"] {
    background: var(--accent);
    color: #050505;
  }

  .map-results.view-list .map-card {
    display: none;
  }

  .map-results.view-map .map-card {
    display: block;
  }

  .map-results.view-map .result-header,
  .map-results.view-map .share-status,
  .map-results.view-map .compare-panel,
  .map-results.view-map .result-list,
  .map-results.view-map .load-more-wrap,
  .map-results.view-map .results-cta {
    display: none;
  }

  .result-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-tools {
    width: 100%;
  }

  .result-tools label,
  .result-tools select,
  .result-tools button {
    flex: 1;
    width: 100%;
  }

  .source-row,
  .compare-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .source-links {
    justify-content: flex-start;
  }

  .map-footer,
  footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-shell {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  h1 {
    font-size: clamp(32px, 9.2vw, 38px);
  }

  .lede {
    font-size: 16px;
    line-height: 1.55;
  }

  .topbar,
  .filter-panel,
  .map-card,
  .hero-stats div,
  .planning-strip,
  .browse-guides,
  .seo-guide,
  .data-methodology,
  .cta-panel,
  .venue-support-panel,
  .venue-brief-panel {
    padding-left: 14px;
    padding-right: 14px;
  }

  .venue-form-actions {
    grid-template-columns: 1fr;
  }

  .capacity-audit-card,
  .detail-section,
  .detail-panel {
    padding: 18px 14px;
  }

  .topbar nav a {
    font-size: 11px;
  }

  .venue-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .space-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .map-gesture-hint {
    top: 10px;
    right: 10px;
    font-size: 10px;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
