/* NearbyGTA — Apple-grade directory.
   The system font (SF Pro on Apple devices), Apple's semantic colours for light and dark,
   glass navigation, grouped lists, and Contacts-style monogram tiles tinted with Apple's
   system hues. Built for 45–70 year old readers in two alphabets: 17px body, 44px targets. */

:root {
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue",
          "Segoe UI", system-ui, Roboto, Arial, sans-serif;

  --bg:        #f5f5f7;                 /* page */
  --elev:      #ffffff;                 /* cards, grouped lists */
  --fill:      rgba(118,118,128,.12);   /* controls: iOS tertiarySystemFill */
  --fill-2:    rgba(118,118,128,.07);
  --label:     #1d1d1f;
  --label-2:   #6e6e73;
  --label-3:   #8e8e93;
  --sep:       rgba(60,60,67,.16);
  --sep-2:     rgba(60,60,67,.26);
  --accent:    #0071e3;
  --accent-hi: #0077ed;
  --accent-bg: rgba(0,113,227,.09);
  --link:      #0066cc;
  --focus:     rgba(0,125,250,.55);
  --glass:     rgba(250,250,252,.78);
  --shadow-1:  0 1px 1px rgba(0,0,0,.02), 0 2px 10px rgba(0,0,0,.045);
  --shadow-2:  0 2px 6px rgba(0,0,0,.04), 0 16px 40px rgba(0,0,0,.10);
  --gta:       #c55300;
  --bathurst:  #1e6ef4;
  --wine:      #8e2a45;
  --ok:        #248a3d;                 /* systemGreen, increased contrast */
  --ok-bg:     rgba(52,199,89,.13);

  --r-card: 18px;
  --r-ctl:  12px;
  --ease:   cubic-bezier(.25,.1,.25,1);
  --wrap:   1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #000000;
    --elev:      #1c1c1e;
    --fill:      rgba(118,118,128,.24);
    --fill-2:    rgba(118,118,128,.14);
    --label:     #f5f5f7;
    --label-2:   #a1a1a6;
    --label-3:   #8e8e93;
    --sep:       rgba(84,84,88,.42);
    --sep-2:     rgba(84,84,88,.62);
    --accent:    #0a84ff;
    --accent-hi: #409cff;
    --accent-bg: rgba(10,132,255,.18);
    --link:      #2997ff;
    --glass:     rgba(22,22,23,.78);
    --shadow-1:  0 0 0 .5px rgba(255,255,255,.06);
    --shadow-2:  0 0 0 .5px rgba(255,255,255,.08), 0 18px 44px rgba(0,0,0,.6);
    --gta:       #ff9230;
    --bathurst:  #5cb8ff;
    --wine:      #e7839b;
    --ok:        #30d158;
    --ok-bg:     rgba(48,209,88,.16);
  }
}
:root[data-theme="dark"] {
  --bg:#000; --elev:#1c1c1e; --fill:rgba(118,118,128,.24); --fill-2:rgba(118,118,128,.14);
  --label:#f5f5f7; --label-2:#a1a1a6; --label-3:#8e8e93; --sep:rgba(84,84,88,.42); --sep-2:rgba(84,84,88,.62);
  --accent:#0a84ff; --accent-hi:#409cff; --accent-bg:rgba(10,132,255,.18); --link:#2997ff;
  --glass:rgba(22,22,23,.78); --shadow-1:0 0 0 .5px rgba(255,255,255,.06);
  --shadow-2:0 0 0 .5px rgba(255,255,255,.08), 0 18px 44px rgba(0,0,0,.6);
  --gta:#ff9230; --bathurst:#5cb8ff; --wine:#e7839b; --ok:#30d158; --ok-bg:rgba(48,209,88,.16);
}

/* Apple system hues: standard colour → increased-contrast variant, so white stays legible. */
.hue-red    { --h1:#ff383c; --h2:#e9152d; }
.hue-orange { --h1:#ff8d28; --h2:#c55300; }
.hue-yellow { --h1:#f5b400; --h2:#a16a00; }
.hue-green  { --h1:#34c759; --h2:#008932; }
.hue-mint   { --h1:#00c8b3; --h2:#008575; }
.hue-teal   { --h1:#00c3d0; --h2:#008198; }
.hue-cyan   { --h1:#00c0e8; --h2:#007eae; }
.hue-blue   { --h1:#0088ff; --h2:#1e5fe0; }
.hue-indigo { --h1:#6155f5; --h2:#4a3fd0; }
.hue-purple { --h1:#cb30e0; --h2:#9c28b0; }
.hue-pink   { --h1:#ff2d55; --h2:#d4104a; }
.hue-brown  { --h1:#ac7f5e; --h2:#8a6146; }
.hue-wine   { --h1:#b83a5e; --h2:#781e3a; }
.hue-gray   { --h1:#98989d; --h2:#636366; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--bg); color: var(--label);
  font: 400 17px/1.47 var(--font); letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 600; margin: 0; }
p { margin: 0; }
button { font: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px;
        background: var(--elev); border-radius: 10px; box-shadow: var(--shadow-2); }
.skip:focus { top: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto;
        padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.ic { width: 20px; height: 20px; flex: none; }
.ic--xs { width: 12px; height: 12px; }
.ic--sm { width: 16px; height: 16px; }
.ic--lg { width: 34px; height: 34px; }
.sep { margin: 0 6px; color: var(--label-3); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--label-2); letter-spacing: -.01em; }

/* ---------- navigation: glass bar ---------- */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: .5px solid var(--sep);
}
.nav__bar {
  max-width: var(--wrap); margin: 0 auto; height: 52px; display: flex; align-items: center; gap: 22px;
  padding: 0 max(20px, env(safe-area-inset-left));
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--label); font-weight: 600;
         font-size: 17px; letter-spacing: -.024em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 26px; height: 26px; flex: none; display: block; }
.brand__mark svg { display: block; width: 100%; height: 100%; }
.brand__accent { color: var(--accent); }
.nav__links { margin-left: auto; display: flex; gap: 22px; }
.nav__links a { color: var(--label); opacity: .82; font-size: 14px; letter-spacing: -.016em; }
.nav__links a:hover { opacity: 1; text-decoration: none; }
.lang { display: inline-flex; padding: 2px; border-radius: 9px; background: var(--fill); }
.lang button {
  font-size: 12px; font-weight: 600; letter-spacing: .02em; border: 0; cursor: pointer;
  padding: 5px 9px; border-radius: 7px; background: transparent; color: var(--label-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--elev); color: var(--label); box-shadow: 0 1px 3px rgba(0,0,0,.14); }

/* ---------- photo hero (home) ---------- */
.hero2 {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #0b0b0c;
  min-height: min(720px, 88vh); display: flex; align-items: flex-end;
}
.hero2__media { position: absolute; inset: 0; z-index: -2; }
.hero2__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transform: scale(1.06); transition: opacity 1.1s var(--ease), transform 9s var(--ease);
}
.hero2[data-hero=""] .hero2__img[data-for=""],
.hero2[data-hero="bathurst"] .hero2__img[data-for="bathurst"],
.hero2[data-hero="wine"] .hero2__img[data-for="wine"] { opacity: 1; transform: scale(1); }
.hero2::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.08) 30%, rgba(0,0,0,.30) 58%, rgba(0,0,0,.80) 100%);
}
.hero2__inner { width: 100%; padding-top: 140px; padding-bottom: 46px; }
.hero2__eyebrow { font-size: 15px; font-weight: 600; letter-spacing: -.01em; opacity: .86; }
.hero2__title {
  margin-top: 10px; max-width: 900px; font-size: clamp(42px, 7vw, 86px); line-height: 1.02; font-weight: 700;
  letter-spacing: -.038em; text-shadow: 0 2px 30px rgba(0,0,0,.28);
}
.hero2__title span {
  background: linear-gradient(92deg, #ffc06a 0%, #ff7aa0 42%, #c3a6ff 72%, #86ceff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.search.search--hero { margin: 34px 0 0; }
/* On the photo the field stays light in both themes. */
.search.search--hero input { background: rgba(255,255,255,.95); color: #1d1d1f; box-shadow: 0 10px 40px rgba(0,0,0,.28); }
.search.search--hero input:focus { box-shadow: 0 0 0 4px rgba(10,132,255,.6), 0 10px 40px rgba(0,0,0,.28); }
.search.search--hero input::placeholder { color: #6e6e73; }
.search.search--hero > .ic { color: #6e6e73; z-index: 1; }
.search.search--hero .search__clear { background: rgba(118,118,128,.16); color: #3a3a3c; }
.seg--glass {
  margin-top: 18px; background: rgba(255,255,255,.16); border: .5px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
}
.seg--glass .seg__btn { color: #fff; }
.seg--glass .seg__btn[aria-pressed="true"] { background: rgba(255,255,255,.94); color: #1d1d1f; }
.hstats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 34px 0 0; }
.hstats div { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.hstats .ic { grid-row: 1 / 3; width: 26px; height: 26px; opacity: .8; }
.hstats dd { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.05; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.hstats dt { font-size: 13px; opacity: .78; letter-spacing: -.01em; }
.hero2__credit {
  position: absolute; right: 14px; bottom: 10px; font-size: 11px; color: rgba(255,255,255,.7); display: none;
  max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero2__credit:hover { color: #fff; }
.hero2[data-hero=""] .hero2__credit[data-for=""],
.hero2[data-hero="bathurst"] .hero2__credit[data-for="bathurst"],
.hero2[data-hero="wine"] .hero2__credit[data-for="wine"] { display: block; }

/* ---------- discovery sections (home): hidden while searching or filtering ---------- */
.discover { padding-top: 52px; }
.rcard {
  position: relative; display: block; width: 280px; height: 184px; border-radius: 20px; overflow: hidden;
  color: #fff; background: var(--fill); scroll-snap-align: start; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.rcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.rcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.72)); }
.rcard:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.rcard:hover img { transform: scale(1.05); }
.rcard__text { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 1px; }
.rcard__name { font-size: 19px; font-weight: 700; line-height: 1.2; letter-spacing: -.022em; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.rcard__n { font-size: 14px; opacity: .88; }

.cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cgrid--all { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); padding-bottom: 72px; }
.ctile {
  position: relative; display: block; height: 156px; border-radius: 20px; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(145deg, var(--h1), var(--h2)); scroll-snap-align: start;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.scroller .ctile { width: 224px; height: 140px; }
.ctile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.ctile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.06) 20%, rgba(0,0,0,.66)); }
.ctile:hover { text-decoration: none; transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.ctile:hover img { transform: scale(1.05); }
.ctile__icon {
  position: absolute; left: 14px; top: 14px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--h1), var(--h2)); box-shadow: 0 4px 14px rgba(0,0,0,.22), inset 0 0 0 .5px rgba(255,255,255,.25);
}
.ctile__icon .ic { width: 21px; height: 21px; }
.ctile__text { position: absolute; left: 16px; right: 14px; bottom: 13px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.ctile__name { font-size: 18px; font-weight: 700; line-height: 1.16; letter-spacing: -.022em; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.ctile__n { font-size: 13px; font-weight: 600; opacity: .9; font-variant-numeric: tabular-nums; }

.fcard { width: 300px; display: grid; background: var(--elev); border-radius: 20px; overflow: hidden; color: inherit;
         box-shadow: var(--shadow-1); scroll-snap-align: start; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.fcard:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-2); }
.fcard__ph { aspect-ratio: 4 / 3; }
.fcard__text { display: flex; align-items: center; gap: 12px; padding: 12px 16px 16px; }
.fcard__text > span:last-child { display: grid; gap: 2px; min-width: 0; }
.fcard__name { font-size: 17px; font-weight: 600; letter-spacing: -.022em; }
.fcard__meta { font-size: 14px; color: var(--label-2); }

/* charts and facts */
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.glance--two { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 18px; }
.chart { padding: 22px 22px 20px; }
.chart__title { font-size: 19px; font-weight: 600; letter-spacing: -.022em; margin-bottom: 14px; }
.chart__foot { margin-top: 14px; font-size: 13px; line-height: 1.4; color: var(--label-2); }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(50px, 1fr) 34px; align-items: center; gap: 10px; font-size: 14px; }
.bar__label { color: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.012em; }
.bar__track { height: 8px; border-radius: 99px; background: var(--fill); overflow: hidden; }
.bar__fill { display: block; height: 100%; width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--h1), var(--h2));
             transform-origin: left; }
.bar__n { text-align: right; color: var(--label-2); font-variant-numeric: tabular-nums; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fact { display: grid; grid-template-columns: 30px auto; column-gap: 12px; align-items: baseline; }
.fact__ic { grid-row: 1 / 3; width: 22px; height: 22px; color: var(--accent); align-self: start; margin-top: 3px; }
.fact__n { font-size: 24px; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact__t { font-size: 14px; line-height: 1.35; color: var(--label-2); }

/* ---------- hero (text pages) ---------- */
.hero { text-align: center; padding-top: 76px; padding-bottom: 30px; }
.hero__title {
  margin-top: 10px; font-size: clamp(40px, 6.6vw, 76px); line-height: 1.04; font-weight: 700;
  letter-spacing: -.035em;
}
.grad {
  background: linear-gradient(92deg, #ff7a18 0%, #e1306c 42%, #7b3fe4 72%, #1e6ef4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { max-width: 640px; margin: 20px auto 0; font-size: 21px; line-height: 1.38;
              letter-spacing: .004em; color: var(--label-2); }
.search { position: relative; max-width: 640px; margin: 36px auto 0; }
.search > .ic { position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
                color: var(--label-3); pointer-events: none; }
.search input {
  width: 100%; height: 58px; border: 0; border-radius: 16px; background: var(--elev);
  padding: 0 52px 0 50px; font: 400 19px var(--font); letter-spacing: -.02em; color: var(--label);
  box-shadow: var(--shadow-1), inset 0 0 0 .5px var(--sep-2);
  transition: box-shadow .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.search input::placeholder { color: var(--label-3); }
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { outline: none; box-shadow: 0 0 0 4px var(--focus), var(--shadow-2); }
.search__clear {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px;
  border: 0; border-radius: 50%; background: var(--fill); color: var(--label-2); cursor: pointer;
  display: grid; place-items: center;
}
.search__clear .ic { width: 14px; height: 14px; }
.stats { display: flex; justify-content: center; gap: 44px; margin: 34px 0 0; }
.stats div { display: flex; flex-direction: column-reverse; align-items: center; }
.stats dd { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.stats dt { font-size: 13px; color: var(--label-2); letter-spacing: -.01em; }

/* ---------- controls ---------- */
.controls { display: grid; gap: 14px; justify-items: start; padding-top: 26px; padding-bottom: 22px; }
.controls .toolbar { justify-content: flex-start; }
.is-home .controls__title { padding-top: 60px; }
.is-home .chips { margin: 0 -20px; width: calc(100% + 40px); }
.is-home .chips__track { margin: 0; padding: 3px 20px; }
.controls__title { margin-bottom: 2px; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 12px; background: var(--fill);
       max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg__btn {
  border: 0; background: transparent; color: var(--label); cursor: pointer; white-space: nowrap;
  font-size: 15px; font-weight: 500; padding: 7px 16px; border-radius: 9px;
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.seg__btn[aria-pressed="true"] { background: var(--elev); font-weight: 600;
  box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 1px 1px rgba(0,0,0,.04); }
.chips { width: 100%; overflow-x: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); }
.chips::-webkit-scrollbar { display: none; }
.chips__track { display: flex; gap: 8px; width: max-content; margin: 0 auto; padding: 3px 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0;
  border-radius: 980px; background: var(--elev); color: var(--label); cursor: pointer; white-space: nowrap;
  font-size: 14px; font-weight: 500; letter-spacing: -.012em; box-shadow: inset 0 0 0 .5px var(--sep-2);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.chip:hover { background: var(--fill-2); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(160deg, var(--h1), var(--h2)); }
.chip__ic { width: 16px; height: 16px; color: var(--h2); }
.chip[aria-pressed="true"] .chip__ic { color: inherit; }
.chip__n { font-size: 13px; color: var(--label-3); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--label); color: var(--elev); box-shadow: none; }
.chip[aria-pressed="true"] .chip__n { color: inherit; opacity: .65; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px;
  padding: 0 15px; border: 0; border-radius: 980px; background: var(--fill); color: var(--label);
  font-size: 14px; font-weight: 500; letter-spacing: -.012em; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.pill:hover { text-decoration: none; background: var(--sep-2); }
.pill .ic { width: 16px; height: 16px; color: var(--accent); }
.pill[aria-pressed="true"] { background: var(--accent); color: #fff; }
.pill[aria-pressed="true"] .ic { color: #fff; }
.pill--block { width: 100%; height: 40px; }
.select { position: relative; display: inline-flex; align-items: center; }
.select > .ic { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--accent); pointer-events: none; }
.select select {
  -webkit-appearance: none; appearance: none; height: 36px; max-width: 100%; border: 0; cursor: pointer;
  border-radius: 980px; padding: 0 34px 0 36px; font: 500 14px var(--font); letter-spacing: -.012em;
  color: var(--label); background-color: var(--fill);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%238e8e93' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 11px 8px;
}
.toolbar__status { width: 100%; text-align: center; font-size: 13px; color: var(--label-2); }
.toolbar__status:empty { display: none; }

/* ---------- results ---------- */
.results { padding-bottom: 72px; }
.results__head { display: flex; align-items: baseline; justify-content: space-between;
                 padding: 0 2px 12px; margin-bottom: 18px; border-bottom: .5px solid var(--sep); }
.results__count { font-size: 24px; font-weight: 600; letter-spacing: -.024em; }
.results__count #count { font-variant-numeric: tabular-nums; }
.results__sort { font-size: 13px; color: var(--label-2); }
/* Cards sit on a grid of 182 px rows: a card with a photo spans two, one without spans one, and
   "dense" lets short cards fill the space beside tall ones, so nothing is left as an empty box. */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
         grid-auto-rows: 182px; grid-auto-flow: row dense; gap: 20px; }
.entry {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--elev); border-radius: 20px; box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.entry--photo, .entry--cover { grid-row: span 2; }
.entry:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.entry__link { flex: 1; min-height: 0; display: flex; flex-direction: column; color: inherit; }
.entry__link:hover { text-decoration: none; }
.entry .ph { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
.entry__body { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px 2px; }
.entry__text { min-width: 0; display: grid; gap: 2px; }
.entry__name {
  font-size: 17px; font-weight: 600; line-height: 1.26; letter-spacing: -.022em; color: var(--label);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.entry__tagline { font-size: 14px; line-height: 1.3; color: var(--label); opacity: .86; letter-spacing: -.012em;
                  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry__meta { font-size: 14px; color: var(--label-2); letter-spacing: -.012em;
               white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 58px; padding: 8px 12px 12px 16px; }
.dist { margin-left: 8px; font-weight: 600; color: var(--accent); }

/* photos: .ph is a picture box, only ever a photo of the business itself */
.ph { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fill); isolation: isolate; }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.entry:hover .ph img, .mini:hover .ph img, .fcard:hover .ph img { transform: scale(1.045); }
/* A small original is shown at its own size over a soft blurred copy, never stretched. */
.ph--framed { display: grid; place-items: center; background: #111; }
.ph--framed .ph__blur { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover;
                        filter: blur(26px) saturate(1.25) brightness(.8); transform: none !important; }
.ph--framed img:not(.ph__blur) { position: relative; width: auto; height: auto; max-height: 100%;
                                 object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.35); }

/* No photo of its own: the category's picture, tinted in the category colour so it reads as
   the category rather than the place, with the category symbol drawn large and faint. */
.ph--default { background: linear-gradient(150deg, var(--h1), var(--h2) 55%, color-mix(in srgb, var(--h2) 60%, #000)); }
.ph--default .ph__cat { position: absolute; inset: 0; filter: grayscale(1) contrast(1.15);
                        mix-blend-mode: soft-light; opacity: .75; transform: scale(1.9); }
.entry:hover .ph--default .ph__cat, .mini:hover .ph--default .ph__cat, .fcard:hover .ph--default .ph__cat { transform: scale(1.97); }
.ph--default::after { content: ""; position: absolute; inset: 0; pointer-events: none;
                      background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.28)); }
.ph__glyph { position: absolute; right: -4%; bottom: -16%; width: 56%; aspect-ratio: 1; z-index: 1;
             color: rgba(255,255,255,.26); transition: transform .8s var(--ease); }
.ph__glyph .ic { width: 100%; height: 100%; stroke-width: 1.4; }
.entry:hover .ph__glyph, .mini:hover .ph__glyph, .fcard:hover .ph__glyph { transform: translate(-3%, -3%) rotate(-4deg); }

/* The business's own mark beside its name — no box behind it. */
.mark { flex: none; display: grid; place-items: center; width: 48px; height: 48px; }
.mark img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.mark--app img { width: 100%; height: 100%; border-radius: 23%; box-shadow: 0 0 0 .5px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.08); }
.mark--wide { width: auto; max-width: 104px; height: 40px; }
.mark--glyph { color: var(--h2); }
.mark--glyph .ic { width: 30px; height: 30px; }
.mark--sm { width: 36px; height: 36px; }
.mark--sm.mark--wide { width: auto; max-width: 80px; height: 30px; }
.mark--sm.mark--glyph .ic { width: 24px; height: 24px; }
.mark--xl { width: 112px; height: 112px; }
.mark--xl.mark--wide { width: auto; max-width: 260px; height: 88px; }
.mark--xl.mark--glyph .ic { width: 64px; height: 64px; }
@supports (corner-shape: squircle) { .mark--app img { corner-shape: squircle; border-radius: 32%; } }
/* keep every logo readable: black ink turns white on a dark page, white ink turns black on a light one */
.mark--light-mono img { filter: invert(1); }
.mark--light-colour { background: #1d1d1f; border-radius: 12px; padding: 5px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mark--dark-mono img { filter: invert(1); }
  :root:not([data-theme="light"]) .mark--light-mono img { filter: none; }
  :root:not([data-theme="light"]) .mark--dark-colour { background: #f5f5f7; border-radius: 12px; padding: 5px; }
  :root:not([data-theme="light"]) .mark--light-colour { background: none; padding: 0; }
  :root:not([data-theme="light"]) .mark--glyph { color: var(--h1); }
}
:root[data-theme="dark"] .mark--dark-mono img { filter: invert(1); }
:root[data-theme="dark"] .mark--light-mono img { filter: none; }
:root[data-theme="dark"] .mark--dark-colour { background: #f5f5f7; border-radius: 12px; padding: 5px; }
:root[data-theme="dark"] .mark--light-colour { background: none; padding: 0; }
:root[data-theme="dark"] .mark--glyph { color: var(--h1); }

/* one line of badges: whatever doesn't fit wraps out of sight */
.badges { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; height: 24px; overflow: hidden; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px 0 7px; border-radius: 99px;
  background: var(--fill-2); color: var(--label-2); font-size: 12px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
}
.badge .ic { width: 13px; height: 13px; }
.badge--ok .ic { color: var(--ok); }
.badge--open { background: var(--ok-bg); color: var(--ok); }
.badge--verified { background: var(--accent-bg); color: var(--accent); }
.call {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px;
  border-radius: 980px; background: var(--accent-bg); color: var(--accent);
  font-size: 13px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  font-variant-numeric: tabular-nums; transition: background .2s var(--ease), color .2s var(--ease);
}
.call .ic { width: 14px; height: 14px; }
.call:hover { background: var(--accent); color: #fff; text-decoration: none; }
.showmore { display: flex; justify-content: center; padding-top: 30px; }
.nearsep { grid-column: 1 / -1; align-self: end; margin: 18px 2px 4px; padding-top: 14px; border-top: .5px solid var(--sep-2);
           font-size: 13px; font-weight: 600; color: var(--label-2); }
.empty { display: grid; justify-items: center; gap: 6px; padding: 72px 0; text-align: center; color: var(--label-2); }
.empty strong { font-size: 21px; font-weight: 600; color: var(--label); }
.empty .ic { color: var(--label-3); margin-bottom: 6px; }

/* ---------- monogram tiles (Contacts / App Store) ---------- */
.tile {
  flex: none; display: inline-grid; place-items: center; overflow: hidden; color: #fff; font-weight: 600;
  letter-spacing: .01em; border-radius: 23%;
  background: linear-gradient(160deg, var(--h1, #98989d), var(--h2, #636366));
  box-shadow: inset 0 0 0 .5px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.22);
  text-shadow: 0 1px 1.5px rgba(0,0,0,.14);
}
.tile--s  { width: 44px;  height: 44px;  font-size: 16px; }
.tile--m  { width: 54px;  height: 54px;  font-size: 20px; }
.tile--xl { width: 124px; height: 124px; font-size: 46px; letter-spacing: 0; border-radius: 24%; }
.tile--photo { background: var(--fill); }
.tile--photo img { width: 100%; height: 100%; object-fit: cover; }
@supports (corner-shape: squircle) {
  .tile, .brand__mark { corner-shape: squircle; border-radius: 32%; }
}

/* ---------- breadcrumbs ---------- */
.crumbs { display: flex; align-items: center; gap: 6px; padding-top: 22px; font-size: 13px; }
.crumbs a { color: var(--label-2); }
.crumbs .ic { color: var(--label-3); }

/* ---------- category banner + tiles ---------- */
.banner { padding-top: 14px; }
.banner__card {
  position: relative; overflow: hidden; border-radius: 26px; padding: 48px 44px 44px; color: #fff;
  background: linear-gradient(135deg, var(--h1), var(--h2));
}
.banner__card::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.28), rgba(255,255,255,0)); pointer-events: none;
}
.banner__eyebrow { font-size: 15px; font-weight: 600; opacity: .85; }
.banner__card--photo { isolation: isolate; min-height: 340px; display: flex; align-items: flex-end; padding: 0; background: #111; }
.banner__card--photo::after { display: none; }
.banner__card--photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 25%, rgba(0,0,0,.72)); }
.banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner__content { padding: 34px 40px 36px; }
.banner__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; margin-bottom: 14px;
  background: linear-gradient(150deg, var(--h1), var(--h2)); box-shadow: 0 6px 20px rgba(0,0,0,.25), inset 0 0 0 .5px rgba(255,255,255,.28); }
.banner__icon .ic { width: 28px; height: 28px; }
.banner__card--photo .banner__title { margin-top: 0; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.banner__credit { position: absolute; right: 14px; bottom: 10px; font-size: 11px; color: rgba(255,255,255,.7); }
.banner__credit:hover { color: #fff; }
.banner__title { font-size: clamp(36px, 5.4vw, 60px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; margin: 6px 0 10px; }
.banner__meta { font-size: 17px; opacity: .9; }
.cattile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between;
  width: 208px; height: 124px; padding: 14px 16px; border-radius: 18px; color: #fff; scroll-snap-align: start;
  background: linear-gradient(145deg, var(--h1), var(--h2)); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cattile::after {
  content: ""; position: absolute; width: 160px; height: 160px; right: -50px; top: -70px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.3), rgba(255,255,255,0)); pointer-events: none;
}
.cattile:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 14px 30px rgba(0,0,0,.16); text-decoration: none; }
.cattile__n { align-self: flex-end; font-size: 13px; font-weight: 600; opacity: .88; font-variant-numeric: tabular-nums; }
.cattile__name { font-size: 19px; font-weight: 700; line-height: 1.15; letter-spacing: -.022em; text-shadow: 0 1px 2px rgba(0,0,0,.12); }
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(224px, 1fr)); gap: 14px; padding-bottom: 72px; }
.cattile--grid { width: auto; height: 148px; }
.cattile--grid .cattile__name { font-size: 21px; }

/* ---------- horizontal scrollers ---------- */
.scroller { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
            margin: 0 -20px; padding: 0 20px; scroll-padding-inline: 20px; }
.scroller::-webkit-scrollbar { display: none; }
.scroller__track { display: flex; gap: 14px; width: max-content; padding: 4px 0 14px; }
.section-title { font-size: 24px; font-weight: 600; letter-spacing: -.024em; }
.more { padding-top: 12px; padding-bottom: 72px; }
.more__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.more__all { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; white-space: nowrap; }
.mini {
  scroll-snap-align: start; width: 210px; display: grid; gap: 4px; align-content: start; padding: 0 0 14px; overflow: hidden;
  background: var(--elev); border-radius: 18px; color: inherit; box-shadow: var(--shadow-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mini:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-2); }
.mini__ph { margin-bottom: 10px; }
.mini__head { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-width: 0; }
.mini__meta { padding: 0 14px 0 60px; }
.mini__name { min-width: 0; }
.mini__name { font-size: 15px; font-weight: 600; line-height: 1.27; letter-spacing: -.016em;
              display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini__meta { font-size: 13px; color: var(--label-2); }

/* ---------- listing ---------- */
.listing { padding-bottom: 8px; }
.cover { position: relative; margin: 18px 0 0; border-radius: 26px; overflow: hidden; background: var(--fill); }
.cover__ph { aspect-ratio: 21 / 8; }
.cover + .lhead { padding-top: 26px; }
.cover figcaption { position: absolute; right: 12px; bottom: 10px; max-width: calc(100% - 24px); font-size: 12px; color: #fff; padding: 4px 10px;
                    border-radius: 980px; background: rgba(0,0,0,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
                    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cover figcaption a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 2px; }
.lhead__role { margin: -12px 0 18px; font-size: 19px; line-height: 1.35; color: var(--label-2); letter-spacing: -.012em; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 22px; }
.tchip { height: 30px; padding: 0 12px 0 10px; font-size: 13px; font-weight: 500; color: var(--label); background: var(--fill); gap: 6px; }
.tchip .ic { width: 15px; height: 15px; color: var(--label-2); }
.tchip--ok .ic { color: var(--ok); }
.tchip--verified { background: var(--accent-bg); color: var(--accent); }
.tchip--verified .ic { color: var(--accent); }
.lcol { display: grid; gap: 28px; }
.lhead__tagline { margin: -12px 0 16px; font-size: 21px; line-height: 1.35; color: var(--label-2); letter-spacing: -.012em; max-width: 640px; }
.about__body { padding: 18px 20px; }
.about__text { font-size: 17px; line-height: 1.55; letter-spacing: -.016em; }
.hls { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hl { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border-radius: 99px;
      background: var(--accent-bg); color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.hl .ic { width: 15px; height: 15px; }
.hstatus { display: inline-flex; align-items: center; height: 24px; margin-left: 8px; padding: 0 10px; border-radius: 99px;
           vertical-align: 3px; font-size: 13px; font-weight: 600; letter-spacing: -.005em; }
.hstatus.is-open { background: var(--ok-bg); color: var(--ok); }
.hstatus.is-closed { background: var(--fill); color: var(--label-2); }
.row.is-today .row__label, .row.is-today .row__value { font-weight: 600; color: var(--label); }
.lhead { display: flex; align-items: center; gap: 30px; padding: 28px 0 36px; }
.lhead__text { min-width: 0; }
.lhead__title { font-size: clamp(32px, 4.8vw, 52px); font-weight: 700; line-height: 1.07; letter-spacing: -.034em; margin: 4px 0 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px;
  border: 0; border-radius: 980px; background: var(--fill); color: var(--accent); cursor: pointer; white-space: nowrap;
  font-size: 17px; font-weight: 500; letter-spacing: -.022em; transition: background .2s var(--ease), transform .15s var(--ease);
}
.btn:hover { text-decoration: none; background: var(--sep-2); }
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hi); }
.btn--small { height: 36px; padding: 0 15px; font-size: 15px; }
.btn--small .ic { width: 16px; height: 16px; }
.btn--quiet { color: var(--label-2); }

.lgrid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.group__title { font-size: 20px; font-weight: 600; letter-spacing: -.022em; margin: 0 0 10px 4px; }
.group__body { background: var(--elev); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-1); }
.group__foot { font-size: 13px; line-height: 1.42; color: var(--label-2); padding: 10px 18px 0; }
.row { position: relative; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 13px 18px; color: inherit; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 18px; right: 0; height: .5px; background: var(--sep); }
.row__label { flex: none; width: 108px; font-size: 15px; color: var(--label-2); letter-spacing: -.012em; }
.row__value { flex: 1; min-width: 0; font-size: 17px; letter-spacing: -.022em; overflow-wrap: anywhere; }
.row--link:hover { text-decoration: none; background: var(--fill-2); }
.row--link .row__value { color: var(--link); }
.ic--row { width: 18px; height: 18px; color: var(--label-3); }
.card { background: var(--elev); border-radius: var(--r-card); box-shadow: var(--shadow-1); }
.card--map { overflow: hidden; margin-top: 38px; }
.minimap { height: 300px; background: var(--fill); }
.note { display: flex; gap: 8px; align-items: flex-start; padding: 14px 18px 0; font-size: 13px; line-height: 1.42; color: var(--label-2); }
.note .ic { margin-top: 1px; color: var(--label-3); }
.card__link { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 14px 18px;
              border-top: .5px solid var(--sep); font-size: 15px; }
.card__link:hover { text-decoration: none; background: var(--fill-2); }
.owner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
         margin-top: 28px; padding: 24px 26px; }
.owner__title { font-size: 20px; font-weight: 600; letter-spacing: -.022em; }
.owner__text { margin-top: 4px; font-size: 15px; color: var(--label-2); }
.owner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.listing .more { padding-top: 44px; }

/* ---------- map page ---------- */
body.is-map { background: var(--bg); }
.mapview { position: relative; height: calc(100vh - 52px); height: calc(100dvh - 52px); min-height: 480px; }
.bigmap { position: absolute; inset: 0; background: var(--fill); }
.glass {
  background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  box-shadow: var(--shadow-2); border: .5px solid var(--sep);
}
.panel { position: absolute; z-index: 500; top: 16px; left: 16px; width: 312px; padding: 20px; border-radius: 22px; display: grid; gap: 10px; }
.panel__title { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.panel__count { font-size: 14px; color: var(--label-2); margin: -4px 0 4px; }
.panel__count strong { color: var(--label); font-variant-numeric: tabular-nums; }
.panel .select, .panel .select select { width: 100%; }
.panel .select select { height: 40px; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 4px; font-size: 12px; color: var(--label-2); }
.key { display: inline-block; width: 13px; height: 13px; border-radius: 50%; flex: none; }
.key--exact { background: var(--gta); box-shadow: 0 0 0 2px #fff, 0 0 0 2.5px rgba(0,0,0,.15); }
.key--approx { background: #fff; border: 2.5px dashed var(--gta); margin-left: 8px; }
.mapnote { padding-top: 18px; padding-bottom: 8px; font-size: 13px; line-height: 1.45; color: var(--label-2); }
.cluster {
  display: grid !important; place-items: center; border-radius: 50%; color: #fff; font: 600 14px var(--font);
  background: rgba(29,29,31,.92); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.leaflet-container { font-family: var(--font); background: var(--fill); }
.leaflet-bar { border: 0 !important; box-shadow: var(--shadow-2) !important; border-radius: 12px !important; overflow: hidden; }
.leaflet-bar a { width: 38px !important; height: 38px !important; line-height: 38px !important; font-size: 20px !important;
                 color: #1d1d1f !important; background: rgba(255,255,255,.92) !important; border-color: rgba(0,0,0,.08) !important; }
.leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: 0 12px 34px rgba(0,0,0,.18); padding: 2px; }
.leaflet-popup-content { margin: 12px 14px; font-size: 14px; line-height: 1.4; color: #1d1d1f; }
.leaflet-popup-tip { box-shadow: none; }
.pop { display: flex; gap: 12px; align-items: center; min-width: 220px; }
.pop__mark { flex: none; width: 40px; height: 40px; display: grid; place-items: center; }
.pop__mark img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pop__ph { width: calc(100% + 28px); margin: -12px -14px 10px; aspect-ratio: 16 / 9; border-radius: 14px 14px 0 0; }
.pop__name { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.016em; color: #1d1d1f !important; }
.pop__meta { display: block; font-size: 13px; color: #6e6e73; }
.pop__call { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; height: 30px; padding: 0 12px; border-radius: 980px;
             background: rgba(0,113,227,.1); color: #0071e3 !important; font-size: 13px; font-weight: 600; }
.pop__call:hover { text-decoration: none; background: #0071e3; color: #fff !important; }
.pop__note { display: block; margin-top: 8px; font-size: 12px; color: #6e6e73; }

/* ---------- prose pages ---------- */
.prose { max-width: 740px; padding-top: 64px; padding-bottom: 80px; }
.prose h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; margin: 8px 0 18px; }
.prose .lede { font-size: 21px; line-height: 1.4; color: var(--label-2); letter-spacing: .004em; margin-bottom: 18px; }
.prose h2 { font-size: 24px; font-weight: 600; letter-spacing: -.024em; margin: 44px 0 10px; }
.prose p { font-size: 17px; line-height: 1.53; margin-bottom: 12px; }
.prose .group { margin: 12px 0 22px; }
.prose .row__label { width: 96px; }
.prose .row__value { font-size: 15px; color: var(--label-2); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 !important; }
.pagehead { padding-top: 64px; padding-bottom: 30px; }
.pagehead__title { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
.pagehead__lede { margin-top: 12px; font-size: 21px; color: var(--label-2); }

/* ---------- credits ---------- */
.creditspage { padding-bottom: 80px; }
.creditspage h2 { font-size: 22px; font-weight: 600; letter-spacing: -.022em; margin: 30px 0 14px; }
.credits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.credit { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--elev); border-radius: 16px; box-shadow: var(--shadow-1); min-width: 0; }
.credit img { width: 84px; height: 56px; object-fit: cover; border-radius: 10px; flex: none; background: var(--fill); }
.credit__text { display: grid; gap: 2px; min-width: 0; font-size: 13px; }
.credit__text a:first-child { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.credit__text span { color: var(--label-2); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.creditnote { max-width: 760px; font-size: 15px; line-height: 1.5; color: var(--label-2); }

/* ---------- footer ---------- */
.foot { border-top: .5px solid var(--sep); padding-top: 26px; padding-bottom: 44px; font-size: 12px; line-height: 1.5; color: var(--label-2); letter-spacing: -.01em; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 14px; }
.foot__links a { color: var(--label); opacity: .82; }
.foot p { max-width: 760px; margin-bottom: 8px; }
.foot__legal a { color: var(--label-2); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero > *, .banner__card, .lhead, .pagehead > *, .prose > * { animation: rise .8s var(--ease) both; }
  .hero > :nth-child(2), .prose > :nth-child(2) { animation-delay: .06s; }
  .hero > :nth-child(3), .prose > :nth-child(3) { animation-delay: .12s; }
  .hero > :nth-child(4) { animation-delay: .18s; }
  .hero > :nth-child(5) { animation-delay: .24s; }
  .hero2__inner > * { animation: rise .9s var(--ease) both; }
  .hero2__inner > :nth-child(2) { animation-delay: .07s; }
  .hero2__inner > :nth-child(3) { animation-delay: .14s; }
  .hero2__inner > :nth-child(4) { animation-delay: .2s; }
  .hero2__inner > :nth-child(5) { animation-delay: .26s; }
  .bar__fill { animation: grow 1.1s var(--ease) both .15s; }
  @keyframes grow { from { transform: scaleX(0); } to { transform: none; } }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .glance { grid-template-columns: 1fr 1fr; }
  .glance .chart:last-child { grid-column: 1 / -1; }
  .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .lgrid { grid-template-columns: 1fr; }
  .card--map { margin-top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .nav__bar { gap: 14px; }
  .nav__links { gap: 16px; }
  .nav__hide-sm, .brand__name { display: none; }
  .hero { padding-top: 44px; text-align: left; }
  .hero2 { min-height: 640px; }
  .hero2__inner { padding-top: 96px; padding-bottom: 36px; }
  .hstats { gap: 14px 26px; }
  .hstats div:nth-child(n+3) { display: none; }
  .hstats dd { font-size: 24px; }
  .hero2__credit { right: 10px; left: 10px; max-width: none; text-align: right; }
  .discover { padding-top: 40px; }
  .rcard { width: 240px; height: 160px; }
  .cgrid { gap: 10px; }
  .ctile { height: 128px; border-radius: 18px; }
  .ctile__name { font-size: 16px; }
  .ctile__icon { width: 32px; height: 32px; border-radius: 9px; left: 12px; top: 12px; }
  .ctile__icon .ic { width: 18px; height: 18px; }
  .glance, .glance--two { grid-template-columns: 1fr; }
  .glance .chart:last-child { grid-column: auto; }
  .is-home .controls__title { padding-top: 44px; }
  .banner__card--photo { min-height: 280px; }
  .banner__content { padding: 24px 22px 28px; }
  .cover__ph { aspect-ratio: 4 / 3; }
  .cover { border-radius: 20px; margin-left: -8px; margin-right: -8px; }
      .hero__lede { margin-left: 0; font-size: 19px; }
  .search { margin-left: 0; margin-right: 0; }
  .stats { justify-content: flex-start; gap: 30px; }
  .stats div { align-items: flex-start; }
  .controls { justify-items: stretch; }
  .seg { display: flex; width: 100%; }
  .seg__btn { flex: 1 1 auto; padding: 7px 8px; font-size: 14px; }
  .toolbar { justify-content: flex-start; }
  .toolbar__status { text-align: left; }
  .chips { margin: 0 -20px; width: auto; }
  .cards { grid-template-columns: 1fr; gap: 14px; grid-auto-rows: 172px; }
  .lhead__tagline { font-size: 18px; margin-top: -8px; }
  .lhead { flex-direction: column; align-items: flex-start; gap: 18px; padding: 20px 0 28px; }
  .tile--xl { width: 96px; height: 96px; font-size: 36px; }
  .banner__card { padding: 34px 24px 30px; border-radius: 22px; }
  .row__label { width: 86px; }
  .owner { padding: 20px; }
  .panel { left: 10px; right: 10px; top: 10px; width: auto; padding: 14px; gap: 8px; border-radius: 18px;
           grid-template-columns: 1fr 1fr; }
  .panel__title { font-size: 22px; grid-column: 1 / -1; }
  .panel__count { grid-column: 1 / -1; margin: -6px 0 2px; font-size: 13px; }
  .bigmap .leaflet-top.leaflet-right { top: auto; bottom: 28px; }
  .panel #nearme, .panel .toolbar__status, .panel .legend { grid-column: 1 / -1; }
  .panel .select select { height: 38px; font-size: 13px; padding-right: 26px; }
  .legend { display: none; }
}

@media print {
  body { background: #fff; }
  .nav, .controls, .foot__links, .owner, .more, .search { display: none; }
  .entry { box-shadow: none; border: .5px solid #ccc; break-inside: avoid; }
}

/* People behind the business: faces from its own website, in circles. */
.people__list { list-style: none; margin: 0; padding: 18px 16px 6px; display: grid; gap: 18px 12px;
                grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); background: var(--elev); border-radius: var(--r-card); box-shadow: var(--shadow-1); }
.person { display: grid; justify-items: center; text-align: center; gap: 2px; min-width: 0; }
.person__ph { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 22%;
              background: var(--fill); box-shadow: 0 0 0 .5px var(--sep); margin-bottom: 6px; }
.person__name { font-size: 15px; font-weight: 600; letter-spacing: -.016em; line-height: 1.25; }
.person__role { font-size: 13px; color: var(--label-2); line-height: 1.25; }

/* Filters: a choice the other filters leave empty is greyed out and can't be picked. */
.chip:disabled, .chip.is-empty:not([aria-pressed="true"]) { opacity: .38; cursor: default; box-shadow: none; }
.chip:disabled:hover { background: var(--elev); }
.filternotice { margin: -6px 2px 16px; padding: 10px 14px; border-radius: 12px; font-size: 14px;
                background: var(--fill); color: var(--label-2); }

.glance--one { grid-template-columns: 1fr; }

/* The filter bar stays under the menu while the results scroll, so filters are never out of reach. */
.controls { position: sticky; top: 52px; z-index: 50; padding-top: 12px; padding-bottom: 12px; gap: 10px;
            background: color-mix(in srgb, var(--bg) 86%, transparent);
            -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
            box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--bg) 86%, transparent); clip-path: inset(0 -100vmax); }
@media (max-width: 640px) { .controls { position: static; box-shadow: none; clip-path: none; background: none;
                                        -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Hover seam fix: picture boxes have fractional heights (e.g. 245.8 px); when the card lifts
   and the photo zooms, the GPU layer edge left a 1 px light line under the picture. Keep the
   box and its picture in one composited layer and let the picture bleed 1 px past the clip. */
.entry .ph, .mini .ph, .fcard .ph { transform: translateZ(0); -webkit-mask-image: -webkit-radial-gradient(white, black); }
.entry .ph:not(.ph--framed) > img:not(.ph__cat), .mini .ph:not(.ph--framed) > img:not(.ph__cat),
.fcard .ph:not(.ph--framed) > img:not(.ph__cat) { height: calc(100% + 2px); margin-bottom: -2px; backface-visibility: hidden; }
.ph--default .ph__cat { inset: -1px 0; backface-visibility: hidden; }
.ph--framed .ph__blur { backface-visibility: hidden; }
