:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --ink: #1f211d;
  --muted: #6d7068;
  --accent: #8a5a43;
  --accent-dark: #684130;
  --line: #e4e0d8;
  --soft: #efebe4;
  --shadow: 0 12px 35px rgba(31, 33, 29, 0.08);
  --radius: 18px;
  --radius-lg: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(138, 90, 67, .25);
  outline-offset: 3px;
}
img { display: block; width: 100%; }
button, input, textarea { font: inherit; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 245, 240, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(228, 224, 216, .9);
}
.header-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.42rem;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.brand span { color: var(--accent); }
.nav { display: flex; justify-content: center; align-items: center; gap: 24px; }
.nav a {
  color: var(--muted);
  font-weight: 650;
  font-size: .92rem;
  transition: color .2s ease;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.socials { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.socials a {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 800;
  background: var(--surface);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.socials a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-toggle {
  display: none;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
}

.hero { padding: 72px 0 44px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 54px;
  align-items: center;
}
.eyebrow {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
  margin-bottom: 12px;
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(2.8rem, 5.6vw, 5.2rem); letter-spacing: -.045em; margin-bottom: 20px; max-width: 760px; }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); letter-spacing: -.035em; margin-bottom: 14px; }
h3 { font-size: 1.38rem; margin-bottom: 8px; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 670px; }
.actions { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 750;
  cursor: pointer;
  transition: .2s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-secondary { background: transparent; }
.btn-secondary:hover { background: var(--surface); }
.hero-card {
  min-height: 410px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.34)),
    url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1200&q=85') center/cover;
  box-shadow: var(--shadow);
  display: flex;
  align-items: end;
  padding: 24px;
  color: #fff;
}
.hero-card p { margin: 0; max-width: 420px; font-size: 1rem; }

.section { padding: 68px 0; }
.section-tight { padding: 44px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.restaurant-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 33, 29, .045);
  transition: transform .2s ease, box-shadow .2s ease;
}
.restaurant-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.restaurant-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 20px; }
.meta { color: var(--accent); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .075em; }
.card-body p { color: var(--muted); margin-bottom: 0; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
#map { height: min(64vh, 620px); min-height: 430px; width: 100%; }
.map-note { padding: 13px 16px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface); }
.leaflet-control-zoom a { width: 38px !important; height: 38px !important; line-height: 38px !important; }

.page-hero { padding: 72px 0 26px; }
.page-hero .lead { max-width: 740px; }
.content-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 52px; align-items: start; }
.quote-card { background: var(--ink); color: #fff; padding: 32px; border-radius: var(--radius-lg); position: sticky; top: 104px; }
.quote-card p { font-family: Georgia, serif; font-size: 1.5rem; line-height: 1.4; margin: 0; }
.prose p { color: var(--muted); font-size: 1.02rem; }

.restaurant-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.restaurant-list .restaurant-card img { aspect-ratio: 16 / 10; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; }
.contact-panel { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 30px; }
.contact-panel p { color: rgba(255,255,255,.74); }
.contact-panel a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
form { display: grid; gap: 16px; }
label { font-weight: 700; font-size: .92rem; }
input, textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}
input:focus, textarea:focus { border-color: var(--accent); }
textarea { min-height: 150px; resize: vertical; }

.site-footer { border-top: 1px solid var(--line); margin-top: 54px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; padding: 30px 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 900px) {
  .container { width: min(100% - 32px, 1120px); }
  .header-row { grid-template-columns: 1fr auto; min-height: 68px; gap: 12px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
  .nav a:hover, .nav a.active { background: var(--soft); }
  .socials {
    display: none;
    position: absolute;
    left: 30px;
    right: 30px;
    top: 334px;
    z-index: 2;
    justify-content: flex-start;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .site-header.menu-open .socials { display: flex; }
  .site-header.menu-open .nav { padding-bottom: 64px; }
  .hero-grid, .content-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 28px; }
  .hero-grid { gap: 32px; }
  .hero-card { min-height: 330px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .section-head { align-items: start; flex-direction: column; gap: 10px; }
  .quote-card { position: static; }
  .contact-grid { gap: 28px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1120px); }
  h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.7rem); }
  .lead { font-size: 1rem; }
  .hero { padding-top: 38px; }
  .hero-card { min-height: 280px; padding: 20px; border-radius: 20px; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .section { padding: 50px 0; }
  .cards, .restaurant-list { grid-template-columns: 1fr; }
  .restaurant-card:hover { transform: none; }
  .card-body { padding: 18px; }
  #map { height: 62vh; min-height: 390px; }
  .map-note { font-size: .82rem; }
  .page-hero { padding: 46px 0 12px; }
  .quote-card, .contact-panel { padding: 24px; border-radius: 20px; }
  .quote-card p { font-size: 1.32rem; }
  .footer-row { flex-direction: column; gap: 6px; padding: 24px 0; }
}

@media (max-width: 380px) {
  .brand { font-size: 1.28rem; }
  .container { width: min(100% - 20px, 1120px); }
  .nav { left: 10px; right: 10px; }
  .socials { left: 24px; right: 24px; }
}


/* Full restaurant map explorer */
.map-page { overflow-x: hidden; }
.map-page .site-footer { display: none; }
.map-explorer { min-height: calc(100vh - 74px); display: flex; flex-direction: column; }
.map-toolbar { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 500; }
.map-toolbar-inner { width: min(1440px, calc(100% - 32px)); margin: 0 auto; padding: 14px 0; display: grid; grid-template-columns: minmax(190px, 1.35fr) repeat(5, minmax(125px, .8fr)) auto auto; gap: 10px; align-items: end; }
.map-toolbar label { min-width: 0; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.map-toolbar label span { display: block; margin: 0 0 5px 2px; }
.map-toolbar input, .map-toolbar select { width: 100%; min-height: 44px; margin: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font-size: .92rem; text-transform: none; letter-spacing: normal; font-weight: 600; }
.filter-reset { min-height: 44px; padding: 0 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font-weight: 750; cursor: pointer; }
.filter-reset:hover { background: var(--soft); }
.result-count { min-height: 44px; display: flex; align-items: center; white-space: nowrap; color: var(--muted); font-size: .88rem; font-weight: 700; padding: 0 4px; }
.map-canvas-wrap { position: relative; flex: 1; min-height: 600px; }
#explorer-map { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 600px; }
.map-empty { position: absolute; z-index: 600; top: 22px; left: 50%; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); padding: 10px 16px; font-weight: 700; white-space: nowrap; }
.map-popup { display: grid; gap: 4px; min-width: 190px; }
.map-popup strong { font-family: Georgia, serif; font-size: 1.08rem; }
.map-popup span { color: #666; font-size: .84rem; }
.map-popup a { color: var(--accent-dark); font-weight: 800; margin-top: 3px; }

@media (max-width: 1180px) {
  .map-toolbar-inner { grid-template-columns: repeat(4, 1fr); }
  .filter-search { grid-column: span 2; }
  .result-count { justify-content: flex-end; }
}

@media (max-width: 900px) {
  .map-explorer { min-height: calc(100vh - 68px); }
  .map-toolbar-inner { width: min(100% - 24px, 720px); grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 0; }
  .filter-search { grid-column: 1 / -1; }
  .filter-reset { width: 100%; }
  .result-count { justify-content: flex-end; }
  .map-canvas-wrap, #explorer-map { min-height: 68vh; }
}

@media (max-width: 520px) {
  .map-toolbar-inner { width: min(100% - 20px, 520px); gap: 8px; }
  .map-toolbar label { font-size: .68rem; }
  .map-toolbar input, .map-toolbar select { min-height: 46px; font-size: 1rem; }
  .filter-reset { min-height: 46px; }
  .result-count { font-size: .82rem; }
  .map-canvas-wrap, #explorer-map { min-height: 62vh; }
}

/* Map explorer enhancements */
.map-toolbar-inner {
  grid-template-columns: minmax(180px, 1.25fr) repeat(7, minmax(118px, .72fr)) repeat(3, auto);
}
.filter-action {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
}
.filter-action:hover,
.filter-action.active,
.filter-action[aria-pressed="true"] { background: var(--soft); }
.filter-action:disabled { opacity: .6; cursor: wait; }
.map-content { position: relative; flex: 1; min-height: 600px; display: flex; }
.map-content .map-canvas-wrap { flex: 1; min-width: 0; }
.restaurant-results {
  width: min(420px, 38vw);
  border-left: 1px solid var(--line);
  background: var(--bg);
  overflow-y: auto;
  padding: 18px;
}
.map-content.show-list .restaurant-results { display: block; }
.map-result-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 12px;
}
.map-result-topline { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.map-result-card h2 { font-family: Georgia, serif; font-size: 1.18rem; margin: 0 0 4px; }
.map-result-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.result-favourite {
  width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1.15rem;
}
.map-result-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 10px; }
.map-result-meta span, .result-tags span {
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 8px; font-size: .75rem; background: var(--soft);
}
.result-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.result-dietary { font-size: .82rem !important; margin: 8px 0 !important; }
.map-result-actions { display: flex; gap: 8px; margin-top: 13px; }
.map-result-actions button, .map-result-actions a {
  min-height: 40px; border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px;
  background: var(--surface); color: var(--ink); font-weight: 750; text-decoration: none; cursor: pointer;
}
.popup-actions { display: flex; gap: 7px; align-items: center; margin-top: 5px; }
.popup-favourite { border: 0; background: transparent; padding: 0; font: inherit; font-weight: 800; color: var(--accent-dark); cursor: pointer; }
.location-message {
  position: absolute; z-index: 610; left: 50%; bottom: 22px; transform: translateX(-50%);
  max-width: min(520px, calc(100% - 30px)); padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: .86rem; font-weight: 650; text-align: center;
}

@media (max-width: 1280px) {
  .map-toolbar-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filter-search { grid-column: span 2; }
  .result-count { align-self: center; }
}

@media (max-width: 760px) {
  .map-toolbar-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-search { grid-column: 1 / -1; }
  .filter-action, .filter-reset { width: 100%; }
  .result-count { grid-column: 1 / -1; padding: 4px 2px; }
  .map-content { min-height: 62vh; }
  .map-content.show-list .map-canvas-wrap { display: none; }
  .restaurant-results { width: 100%; border-left: 0; padding: 12px; }
  .map-content.show-list .restaurant-results { min-height: 62vh; }
}

@media (max-width: 430px) {
  .map-toolbar-inner { width: min(100% - 18px, 520px); gap: 7px; }
  .map-toolbar label span { font-size: .64rem; }
  .filter-action, .filter-reset { font-size: .86rem; padding: 0 8px; }
  .map-result-actions { flex-direction: column; }
  .map-result-actions button, .map-result-actions a { width: 100%; text-align: center; }
}

/* Colourful modern map theme */
.map-page {
  --map-coral: #e86a5a;
  --map-blue: #4f7cac;
  --map-teal: #2f8f83;
  --map-purple: #a36ac7;
  --map-gold: #b7892d;
  --map-rose: #c44d71;
}

.map-toolbar {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(80, 70, 60, .10);
  box-shadow: 0 10px 30px rgba(40, 32, 24, .06);
}

.map-toolbar-inner { gap: 11px; padding: 15px 0; }
.map-toolbar label {
  --filter-colour: var(--map-blue);
  padding: 7px;
  border: 1px solid color-mix(in srgb, var(--filter-colour) 18%, var(--line));
  border-radius: 14px;
  background: color-mix(in srgb, var(--filter-colour) 5%, var(--surface));
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.map-toolbar label:focus-within,
.map-toolbar label.filter-active {
  border-color: color-mix(in srgb, var(--filter-colour) 62%, transparent);
  background: color-mix(in srgb, var(--filter-colour) 10%, var(--surface));
  box-shadow: 0 6px 18px color-mix(in srgb, var(--filter-colour) 13%, transparent);
}
.map-toolbar label.filter-active { transform: translateY(-1px); }
.map-toolbar label span { color: color-mix(in srgb, var(--filter-colour) 78%, var(--ink)); }
.map-toolbar label:has(#filter-search) { --filter-colour: var(--map-blue); }
.map-toolbar label:has(#filter-cuisine) { --filter-colour: var(--map-coral); }
.map-toolbar label:has(#filter-price) { --filter-colour: var(--map-teal); }
.map-toolbar label:has(#filter-michelin) { --filter-colour: var(--map-gold); }
.map-toolbar label:has(#filter-area) { --filter-colour: var(--map-purple); }
.map-toolbar label:has(#filter-dietary) { --filter-colour: var(--map-teal); }
.map-toolbar label:has(#filter-dog-friendly) { --filter-colour: #6f9b58; }
.map-toolbar label:has(#filter-tag) { --filter-colour: var(--map-rose); }
.map-toolbar input,
.map-toolbar select {
  border: 0;
  border-radius: 9px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: inset 0 0 0 1px rgba(60, 52, 44, .07);
}
.map-toolbar input:focus,
.map-toolbar select:focus { outline: 2px solid color-mix(in srgb, var(--filter-colour, var(--accent)) 55%, transparent); outline-offset: 1px; }

.filter-action,
.filter-reset {
  border: 1px solid rgba(70, 60, 50, .11);
  border-radius: 12px;
  box-shadow: 0 5px 14px rgba(44, 36, 28, .06);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.filter-action:hover,
.filter-reset:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(44, 36, 28, .09); }
#favorites-only { background: color-mix(in srgb, var(--map-rose) 10%, var(--surface)); border-color: color-mix(in srgb, var(--map-rose) 30%, transparent); }
#view-toggle { background: color-mix(in srgb, var(--map-purple) 9%, var(--surface)); border-color: color-mix(in srgb, var(--map-purple) 28%, transparent); }
#reset-filters { background: color-mix(in srgb, var(--map-teal) 7%, var(--surface)); }
#favorites-only.active,
#favorites-only[aria-pressed="true"] { color: #8d2949; background: color-mix(in srgb, var(--map-rose) 20%, var(--surface)); }

#explorer-map, #map { background: #e9ece7; }
#explorer-map .leaflet-tile-pane, #map .leaflet-tile-pane { filter: saturate(.88) contrast(.98) brightness(1.02); }
#explorer-map .leaflet-control-zoom,
#map .leaflet-control-zoom {
  border: 0 !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(36, 42, 46, .15);
}
#explorer-map .leaflet-control-zoom a,
#map .leaflet-control-zoom a {
  border: 0 !important;
  color: #27313a;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
}
#explorer-map .leaflet-control-zoom a:hover,
#map .leaflet-control-zoom a:hover { background: #fff; color: var(--map-blue); }
#explorer-map .leaflet-control-attribution,
#map .leaflet-control-attribution {
  margin: 0 8px 8px 0 !important;
  padding: 4px 8px !important;
  border-radius: 8px;
  background: rgba(255,255,255,.82) !important;
  backdrop-filter: blur(10px);
}

.modern-map-marker-wrap { background: transparent; border: 0; }
.modern-map-marker {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 8px;
  transform: rotate(-45deg);
  background: var(--marker-colour);
  border: 3px solid rgba(255,255,255,.96);
  box-shadow: 0 7px 18px rgba(31, 37, 41, .28);
  transition: transform .16s ease, box-shadow .16s ease;
}
.modern-map-marker > span {
  transform: rotate(45deg);
  color: #fff;
  font-size: 1.08rem;
  line-height: 1;
  font-weight: 900;
}
.modern-map-marker.is-michelin { box-shadow: 0 7px 20px rgba(183, 137, 45, .38); }
.leaflet-marker-icon:hover .modern-map-marker { transform: rotate(-45deg) scale(1.10); box-shadow: 0 10px 23px rgba(31, 37, 41, .34); }

.modern-popup .leaflet-popup-content-wrapper {
  border-radius: 16px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 18px 46px rgba(32, 38, 42, .20);
  backdrop-filter: blur(14px);
}
.modern-popup .leaflet-popup-content { margin: 16px 18px; }
.modern-popup .leaflet-popup-tip { background: rgba(255,255,255,.97); }
.map-popup { gap: 6px; }
.map-popup strong { font-size: 1.16rem; color: #262729; }
.map-popup span { color: #5e6266; }
.map-popup span:nth-of-type(2) { color: #8c6a1f; font-weight: 700; }
.popup-actions { padding-top: 5px; border-top: 1px solid rgba(70,60,50,.09); margin-top: 5px; }

.map-empty,
.location-message {
  border-color: rgba(70,60,50,.10);
  background: rgba(255,255,255,.91);
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(35, 42, 45, .13);
}

.map-result-card { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.map-result-card:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--map-blue) 30%, var(--line)); box-shadow: 0 10px 24px rgba(40, 46, 50, .08); }
.map-result-meta span:nth-child(1) { background: color-mix(in srgb, var(--map-gold) 10%, var(--soft)); border-color: color-mix(in srgb, var(--map-gold) 25%, var(--line)); }
.map-result-meta span:nth-child(2) { background: color-mix(in srgb, var(--map-teal) 9%, var(--soft)); border-color: color-mix(in srgb, var(--map-teal) 22%, var(--line)); }
.map-result-meta span:nth-child(3) { background: color-mix(in srgb, var(--map-rose) 8%, var(--soft)); border-color: color-mix(in srgb, var(--map-rose) 20%, var(--line)); }

@media (max-width: 760px) {
  .map-toolbar { backdrop-filter: blur(14px); }
  .map-toolbar label { padding: 6px; border-radius: 12px; }
  .map-toolbar label.filter-active { transform: none; }
  .map-toolbar-inner { gap: 8px; }
  #explorer-map .leaflet-control-zoom,
#map .leaflet-control-zoom { margin-top: 12px; margin-left: 12px; }
}

/* Homepage map matches the full explorer visually */
#map { height: min(70vh, 720px); min-height: 520px; }
.map-wrap { overflow: hidden; border-radius: 24px; box-shadow: 0 18px 46px rgba(32, 38, 42, .10); border: 1px solid rgba(70,60,50,.08); }
#map .leaflet-control-zoom { margin-top: 14px; margin-left: 14px; }
@media (max-width: 620px) {
  #map { height: 64vh; min-height: 430px; }
  .map-wrap { border-radius: 18px; }
}
