/* Door-factory finder chrome V2.1 — consumer-marketplace UX over the network
   design canon (shared navy ink foundation + PER-DOOR ACCENT identity, satellite
   look idioms: value anchoring, Apple-Maps-style action buttons, pinned bottom
   action bar). Theme values resolve from config.theme over build_door.py
   THEME_DEFAULTS.

   Identity pass 2026-08-02 (DESIGN_SYSTEM.md, find* family): identity-bearing
   surfaces run on --accent* custom properties. Doors that define config
   theme.accent* get their own accent (oil amber / STAR blue / fuel green);
   doors that don't fall back to the network gold — zero visual change for
   legacy finder configs. Gold stays reserved for the FEATURED premium tier and
   the network trustbar on every door. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800&display=swap');

:root{
  --navy:#0f2942; --navy-700:#173a5c; --navy-50:#eef3f8;
  --gold:#c9a227; --gold-deep:#a8851a; --gold-ink:#6f560f; --gold-bg:#fbf5e3; --gold-line:#ecdcac;
  --star:#e6a817;
  --bg:#eef2f6; --surface:#ffffff; --ink:#16212e; --mut:#5b6875; --line:#e3e9f0;
  /* per-door accent tokens — default to the gold family (legacy doors keep
     today's look); overridden below when config theme.accent* is set.
     --accent-contrast = text ON accent fills; --accent-hero = accent variant
     that clears AA on the navy hero. All pairs AA-verified per door. */
  --accent:var(--gold); --accent-deep:var(--gold-deep); --accent-ink:var(--gold-ink);
  --accent-bg:var(--gold-bg); --accent-line:var(--gold-line);
  --accent-contrast:var(--navy); --accent-hero:var(--gold);
  --r:14px; --r-sm:10px; --maxw:720px; --bar-h:62px;
  --f-body:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --f-display:"Archivo",-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --sh-sm:0 1px 2px rgba(16,33,52,.05),0 1px 3px rgba(16,33,52,.07);
  --sh-md:0 6px 20px rgba(16,33,52,.10);
  --sh-feat:0 8px 26px rgba(168,133,26,.16),0 1px 3px rgba(16,33,52,.08);
}
:root{
  --accent:#c2410c; --accent-deep:#9a3412; --accent-ink:#8f350c;
  --accent-bg:#fdefe6; --accent-line:#f5d0b5;
  --accent-contrast:#ffffff; --accent-hero:#fb9a63;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font:16px/1.6 var(--f-body);background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}
::selection{background:var(--accent);color:var(--accent-contrast)}

/* ── Hero (search-first, booking-style) ─────────────────────────────────── */
header.hero{background:linear-gradient(176deg,var(--navy-700),var(--navy) 70%);color:#fff;padding:26px 16px 30px;position:relative}
header.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,var(--accent-hero),transparent)}
.hero-in{max-width:var(--maxw);margin:0 auto;text-align:center}
.logo{font-family:var(--f-display);font-size:clamp(24px,5vw,28px);font-weight:800;letter-spacing:-.5px;display:inline-flex;align-items:center;gap:8px;line-height:1}
a.logo{text-decoration:none}
.logo .lg-a{color:#fff}.logo .lg-b{color:var(--accent-hero)}
.logo .fmark{width:.92em;height:.92em;flex:0 0 auto;color:var(--accent-hero)}
.hh1{font-family:var(--f-display);font-size:clamp(27px,6.4vw,40px);font-weight:800;letter-spacing:-.8px;line-height:1.08;margin:18px auto 8px;max-width:16ch;text-wrap:balance;color:#fff}
/* 1280 fix (Phase 9, oil/brake P1): 16ch forces 4-5 ragged lines on the long
   find* titles at desktop — widen so balance yields 2 clean lines */
@media(min-width:1024px){.hh1{max-width:28ch}}
.hsub{font-size:14.5px;line-height:1.55;opacity:.88;margin:0 auto 18px;max-width:52ch;color:#fff}
/* hero fact note (Phase 9, brake VSSI explainer) — compact line closing the
   hero band; facts come from the door's own verified seo_html copy */
.hnote{font-size:13px;line-height:1.55;opacity:.82;margin:14px auto 0;max-width:64ch;color:#fff}
.searchbox{background:var(--surface);border-radius:16px;box-shadow:0 14px 38px rgba(4,14,25,.35),0 2px 6px rgba(4,14,25,.2);padding:14px;max-width:560px;margin:0 auto;text-align:left}
.row{display:flex;gap:9px}
input[type=text]{flex:1;min-width:0;font-size:16px;padding:14px 15px;border:1.5px solid #cfd8e1;border-radius:var(--r-sm);background:#fff;color:var(--ink)}
input[type=text]::placeholder{color:#93a1ad}
input[type=text]:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(15,41,66,.13)}
button.go{background:var(--accent);color:var(--accent-contrast);border:0;border-radius:var(--r-sm);font-family:var(--f-display);font-size:16px;font-weight:800;letter-spacing:.3px;padding:13px 24px;min-height:48px;cursor:pointer;transition:background .15s,color .15s,box-shadow .15s,transform .05s}
button.go:hover{background:var(--accent-deep);color:#fff;box-shadow:0 5px 16px rgba(15,41,66,.24)}
button.go:active{transform:scale(.985)}
button.go:disabled{opacity:.6;cursor:default}
button.loc{width:100%;margin-top:10px;background:var(--navy-50);border:1.5px solid #dfe7ef;border-radius:var(--r-sm);color:var(--navy);font-size:15px;font-weight:700;cursor:pointer;padding:12px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.15s}
button.loc:hover{border-color:var(--navy);background:#fff}
button.loc svg{width:17px;height:17px}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:18px auto 0;max-width:560px}
.chip{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border:1px solid rgba(255,255,255,.22);border-radius:999px;font-size:12.5px;font-weight:600;color:rgba(255,255,255,.92);background:rgba(255,255,255,.07);line-height:1.4}
.chip b{color:var(--accent-hero);font-weight:800}

/* ── Layout / typography ────────────────────────────────────────────────── */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 16px}
.crumb{font-size:13px;color:var(--mut);margin:16px 0 6px}
.crumb a{color:var(--navy);text-decoration:none;font-weight:600}
.crumb a:hover{text-decoration:underline}
h1{font-family:var(--f-display);font-size:clamp(26px,5.4vw,33px);font-weight:800;color:var(--navy);letter-spacing:-.7px;line-height:1.12;margin:6px 0 8px}
.lede{font-size:16.5px;line-height:1.65;color:var(--ink);margin-bottom:16px;max-width:64ch}
.lede a,.seo a,footer a,.aeo a{color:var(--navy);font-weight:600}
.wrap h2{font-family:var(--f-display);font-size:19px;font-weight:700;color:var(--navy);letter-spacing:-.2px;line-height:1.3;margin:30px 0 12px;position:relative;padding-left:13px}
.wrap h2::before{content:"";position:absolute;left:0;top:.18em;bottom:.18em;width:4px;border-radius:2px;background:var(--accent)}

/* Mini header (city + doc pages) */
header.mini{background:linear-gradient(178deg,var(--navy-700),var(--navy));color:#fff;padding:18px 16px 20px;text-align:center;position:relative}
header.mini::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,transparent,var(--accent-hero),transparent)}
header.mini .tag{font-size:13px;line-height:1.5;opacity:.85;margin:6px auto 0;color:#fff;max-width:560px}

/* Trust bar (value anchor — network gold, deliberately NOT the door accent) */
.trustbar{background:var(--gold-bg);border:1px solid var(--gold-line);border-radius:12px;padding:11px 15px;margin:16px auto 0;font-size:14px;color:var(--gold-ink);text-align:center;line-height:1.5}
.trustbar b{color:var(--navy);font-weight:800}

/* Status */
#status{margin:16px 2px;font-size:14.5px;color:var(--mut);font-weight:500;scroll-margin-top:12px}
#status a{color:var(--navy);font-weight:600}
@media(min-width:1024px){#status{scroll-margin-top:calc(var(--nav-h) + 12px)}}

/* Notice card (no-results-in-radius fallback — distinct from plain status) */
.notice{background:var(--accent-bg);border:1px solid var(--accent-line);border-left:4px solid var(--accent);
  border-radius:var(--r-sm);padding:13px 16px;margin:0 0 14px;font-size:14.5px;line-height:1.55;color:var(--ink)}
.notice b{color:var(--accent-ink)}

/* Search-in-progress skeleton cards (first directory load) */
.skel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;margin-bottom:12px}
.skel i{display:block;height:12px;border-radius:6px;background:linear-gradient(90deg,var(--line),var(--navy-50) 40%,var(--line) 80%);
  background-size:200% 100%;animation:skel 1.1s linear infinite}
.skel i:nth-child(1){width:55%;height:15px;margin-bottom:10px}
.skel i:nth-child(2){width:80%;margin-bottom:12px}
.skel i:nth-child(3){width:64%;height:30px;border-radius:999px}
@keyframes skel{to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.skel i{animation:none}}

/* ── Venue cards ────────────────────────────────────────────────────────── */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;margin-bottom:12px;box-shadow:var(--sh-sm);transition:box-shadow .15s,border-color .15s,transform .15s;position:relative}
.card:hover{box-shadow:var(--sh-md);border-color:#cdd8e2;transform:translateY(-1px)}
.nm{font-family:var(--f-display);font-size:17.5px;font-weight:700;color:var(--navy);line-height:1.25;letter-spacing:-.2px}
.nm a{color:inherit;text-decoration:none}
.nm a:hover{text-decoration:underline;color:var(--accent-ink)}
.addr{font-size:14px;color:var(--mut);margin:6px 0 0;line-height:1.5}
.addr .dist{margin-right:8px;vertical-align:1px}
.chiprow{margin-top:7px}
.okchip{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;border-radius:999px;font-size:11.5px;font-weight:700;letter-spacing:.3px;color:var(--accent-ink);background:var(--accent-bg);border:1px solid var(--accent-line);line-height:1.3}
.rate{display:flex;align-items:center;gap:7px;margin-top:6px;font-size:13.5px}
.rate b{color:var(--navy)}
.rate .rev{color:var(--mut);font-size:12.5px}
.strs{position:relative;display:inline-block;width:74px;height:14px;line-height:1}
.strs::before,.strs i::before{content:"★★★★★";font-size:14px;letter-spacing:1.4px;color:#d7dee5;position:absolute;left:0;top:0}
.strs i{position:absolute;left:0;top:0;height:100%;overflow:hidden}
.strs i::before{color:var(--star)}
.meta{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:13px;font-size:14px}
.dist{display:inline-flex;align-items:center;font-weight:700;font-size:12px;color:var(--navy);background:var(--navy-50);border:1px solid #dfe7ef;border-radius:6px;padding:3px 8px;line-height:1.2}
a.act{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 15px;border:1.5px solid var(--line);border-radius:999px;color:var(--navy);font-weight:600;font-size:13.5px;text-decoration:none;background:var(--surface);transition:.15s;line-height:1.2}
a.act:hover{border-color:var(--navy);background:#f7f9fb}
/* One visible-focus contract for every interactive element (keyboard parity
   with the hover states; the accent ring is AA against bg on every door) */
a.act:focus-visible,button.go:focus-visible,button.loc:focus-visible,.cities a:focus-visible,
.topnav a:focus-visible,.bar a:focus-visible,.bar button:focus-visible,.mappill:focus-visible,
.mapclose:focus-visible,.nm a:focus-visible,ul.citylist a:focus-visible,footer a:focus-visible,
.faq-item summary:focus-visible,.mapsheet .sheet-x:focus-visible{
  outline:2.5px solid var(--accent-deep);outline-offset:2px;border-radius:6px}
a.act:focus-visible,button.go:focus-visible,.cities a:focus-visible,.mappill:focus-visible{border-radius:999px}
a.act.call{background:var(--navy);color:#fff;border-color:var(--navy);font-weight:700}
a.act.call:hover{background:var(--navy-700)}
.lic{font-size:11.5px;color:#8894a0;margin-left:auto;letter-spacing:.2px;white-space:nowrap}

/* ── Venue detail pages (/<venue_path>/<slug>/) ─────────────────────────── */
a.act.more{border-color:var(--accent-line);color:var(--accent-ink);background:var(--accent-bg)}
a.act.more:hover{border-color:var(--accent-deep)}
a.act.site{background:var(--navy);color:#fff;border-color:var(--navy);font-weight:700}
a.act.site:hover{background:var(--navy-700)}
.pagebadge{margin:14px 0 2px}
.pagemeta{margin:14px 0 4px}
.licline{font-size:12.5px;color:#8894a0;letter-spacing:.2px;margin:6px 0 14px}

/* Venue header module ("Fandango bar"): name + credentials + address +
   actions and the single-pin map read as ONE surface. Mobile stacks; wide
   viewports run info left / map right. */
body.venue .wrap{max-width:880px}
@media(min-width:1024px){body.venue .wrap>.seo,body.venue .wrap>section.seo{max-width:720px}}
.vcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:var(--sh-sm);padding:18px;margin:14px 0 8px;overflow:hidden}
.vcard .venuemap{margin:16px -4px 0;height:210px}
.vcard .licline{margin:12px 0 0}
.vcard h1{margin-top:2px}
.vcard .pagemeta{margin-bottom:0}
.vcard .pagebadge{margin-top:0}
.vcard .lede{margin-bottom:0}
@media(min-width:760px){
  .vcard{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:4px 22px;padding:20px}
  .vcard .vinfo{grid-column:1;min-width:0;align-self:center}
  .vcard .venuemap{grid-column:2;grid-row:1;height:100%;min-height:238px;margin:0;align-self:stretch}
  .vcard .licline{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px;margin-top:16px}
}

/* Proof-of-real photos (Phase 9 P0): ONE staged real shop photo per featured
   card/venue page. Fixed 3:2 intrinsic size (width/height attrs) = zero CLS;
   lazy-loaded so non-featured browsing pays nothing. */
.cphoto{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;
  border-radius:var(--r-sm);margin:0 0 12px;border:1px solid var(--line)}
.card.feat .cphoto{margin-top:2px}
.vphoto{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;
  border-radius:var(--r-sm);margin:10px 0 12px;border:1px solid var(--line)}

/* Cached GBP hours block on featured venue pages (Phase 9, star P2) */
.vhrs{margin:16px 0 2px;padding:12px 14px;background:var(--navy-50);
  border:1px solid var(--line);border-radius:var(--r-sm);font-size:13.5px}
.vhrs .vhrs-t{display:block;font-family:var(--f-display);font-weight:800;font-size:12px;
  letter-spacing:.7px;text-transform:uppercase;color:var(--navy);margin-bottom:7px}
.vhrs .vh-row{display:flex;justify-content:space-between;gap:14px;padding:2px 0;color:var(--ink)}
.vhrs .vh-row b{font-weight:700;color:var(--navy);width:44px;flex:0 0 auto}
.vhrs .vhrs-asof{display:block;margin-top:8px;font-size:11.5px;color:var(--mut)}

/* Region-grouped city chips (Phase 9, oil/brake P1 — finder.city_groups) */
.citygroup{border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);
  margin-bottom:10px;box-shadow:var(--sh-sm)}
.citygroup summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;
  align-items:center;gap:12px;padding:12px 15px;font-family:var(--f-display);font-weight:700;
  font-size:14.5px;color:var(--navy)}
.citygroup summary::-webkit-details-marker{display:none}
.citygroup summary::after{content:"+";font-size:19px;font-weight:600;color:var(--accent-deep);line-height:1}
.citygroup[open] summary::after{content:"–"}
.citygroup summary:focus-visible{outline:2.5px solid var(--accent-deep);outline-offset:2px;border-radius:6px}
.citygroup .cg-ct{margin-left:auto;font-size:11.5px;font-weight:700;color:var(--accent-ink);
  background:var(--accent-bg);border-radius:999px;padding:3px 9px;line-height:1.2}
.citygroup .cities{padding:0 14px 14px;margin-top:0}

/* Featured (premium tier — network gold on every door, never the accent) */
.card.feat{border:1.5px solid var(--gold);box-shadow:var(--sh-feat);overflow:hidden;padding-top:18px}
.card.feat::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--gold-deep),var(--gold) 45%,#e8cf6d)}
.card.feat:hover{border-color:var(--gold-deep)}
.featbadge{display:inline-flex;align-items:center;gap:5px;margin-bottom:11px;padding:5px 11px;font-family:var(--f-display);font-size:10.5px;font-weight:800;letter-spacing:.9px;text-transform:uppercase;color:var(--gold-ink);background:var(--gold-bg);border:1px solid var(--gold-line);border-radius:999px;line-height:1}
.card.feat a.act.call{background:var(--gold);color:var(--navy);border-color:var(--gold-deep);font-weight:800;font-size:14px}
.card.feat a.act.call:hover{background:var(--gold-deep);color:#fff}
/* Featured Book action (network-audit P1-13): gold = the single most-wanted
   action; when Book is present it takes the gold and Call steps back to the
   standard navy call treatment (general-sibling override — Book precedes
   Call in the DOM). Venue pages get the same via .pagemeta. */
a.act.book{background:var(--gold);color:var(--navy);border-color:var(--gold-deep);font-weight:800;font-size:14px}
a.act.book:hover{background:var(--gold-deep);color:#fff}
.card.feat a.act.book~a.act.call{background:var(--navy);color:#fff;border-color:var(--navy);font-weight:700;font-size:13.5px}
.card.feat a.act.book~a.act.call:hover{background:var(--navy-700)}

/* Section dividers (honest sort labeling — network-audit P1-14): featured
   pinning renders under an explicit label; the closest-first claim applies
   only to the labeled list beneath it */
.secdiv{display:flex;align-items:center;gap:12px;margin:20px 2px 12px;font-family:var(--f-display);font-size:12.5px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;color:var(--mut)}
.secdiv::after{content:"";flex:1;height:1px;background:var(--line)}
.secdiv.net{color:var(--gold-ink)}
.secdiv.net::after{background:var(--gold-line)}

/* ── AEO / FAQ ──────────────────────────────────────────────────────────── */
.aeo{margin:30px 0 6px}
.faq-item{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-sm);margin-bottom:10px;box-shadow:var(--sh-sm)}
.faq-item summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;font-family:var(--f-display);font-weight:700;font-size:15px;color:var(--navy);line-height:1.35}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";font-size:20px;font-weight:600;color:var(--accent-deep);flex:0 0 auto;line-height:1}
.faq-item[open] summary::after{content:"–"}
.faq-a{padding:0 16px 14px;font-size:14.5px;line-height:1.65;color:var(--ink)}
.faq-a ul{margin:8px 0 0 18px}
.faq-a li{margin-bottom:4px}
.faq-src{margin-top:9px;font-size:12px;color:var(--mut)}

/* ── SEO sections / city chips ──────────────────────────────────────────── */
section.seo{margin:26px 0 22px;font-size:16px}
section.seo p{color:var(--ink);line-height:1.7;margin-bottom:10px}
.cities{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.cities a{display:inline-flex;align-items:center;padding:8px 13px;background:var(--surface);border:1px solid var(--line);border-radius:999px;font-size:13.5px;font-weight:600;color:var(--navy);text-decoration:none;box-shadow:var(--sh-sm);transition:.15s;line-height:1.2}
.cities a:hover{border-color:var(--accent);color:var(--accent-ink)}
/* browse-by-city: pure-CSS mobile collapse (checkbox toggle rendered by
   gen_pages.mjs; links stay in the DOM — only the paint is clamped) */
.cities-toggle{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.cities-more{display:none}
@media(max-width:760px){
  .cities-clamp{max-height:236px;overflow:hidden;position:relative}
  .cities-clamp::after{content:"";position:absolute;left:0;right:0;bottom:0;height:44px;background:linear-gradient(180deg,transparent,var(--bg))}
  .cities-toggle:checked~.cities-clamp{max-height:none}
  .cities-toggle:checked~.cities-clamp::after{display:none}
  .cities-more{display:inline-flex;align-items:center;justify-content:center;margin-top:10px;padding:10px 18px;min-height:44px;border:1.5px solid var(--line);border-radius:999px;background:var(--surface);color:var(--navy);font-weight:700;font-size:13.5px;cursor:pointer;box-shadow:var(--sh-sm)}
  .cities-more:active{transform:scale(.985)}
  .cities-toggle:focus-visible~.cities-more{outline:2px solid var(--accent);outline-offset:2px}
  .cities-more .hide{display:none}
  .cities-toggle:checked~.cities-more .show{display:none}
  .cities-toggle:checked~.cities-more .hide{display:inline}
}
ul.citylist{list-style:none;margin:14px 0}
ul.citylist li{border-bottom:1px solid var(--line)}
ul.citylist a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 4px;color:var(--navy);font-weight:600;text-decoration:none;font-size:15px}
ul.citylist a:hover{color:var(--accent-ink)}
ul.citylist .ct{font-size:12.5px;color:var(--mut);font-weight:500;white-space:nowrap}

/* ── Doc pages (/about/, /privacy/) — utility-official, muted conversion ── */
body.doc .wrap{max-width:640px}
.doc-meta{font-size:12.5px;color:var(--mut);letter-spacing:.2px;margin:2px 0 18px}
.doc p{font-size:15.5px;line-height:1.7;color:var(--ink);margin-bottom:12px;max-width:65ch}
.doc ul{margin:0 0 12px 20px;font-size:15.5px;line-height:1.7}
.doc li{margin-bottom:6px}
.doc .card{padding:14px 18px}
.doc h2{scroll-margin-top:16px}

/* Footer (official: nav + data provenance + publisher line) */
footer{margin:38px 0 46px;padding-top:20px;border-top:1px solid var(--line);text-align:center;font-size:12.5px;line-height:1.7;color:#8a97a3}
footer a{color:var(--navy);font-weight:600}
/* find* family strip (network-audit item 6): cross-door family links —
   clean canonical URLs, no params; same family, different personalities */
footer .fam{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 14px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:12.5px}
footer .fam .fam-t{color:#8a97a3;font-weight:600}
footer .fam a{text-decoration:none;font-weight:700}
footer .fam a:hover{color:var(--accent-ink);text-decoration:underline}
footer .fnav{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 20px;margin-bottom:9px;font-size:13px}
footer .fnav a{text-decoration:none}
footer .fnav a:hover{color:var(--accent-ink);text-decoration:underline}
footer .prov,footer .cop{display:block}
footer .prov{color:#77848f}

/* ── Pinned bottom action bar (satellite idiom) ─────────────────────────── */
.bar{position:fixed;left:0;right:0;bottom:0;z-index:9000;background:rgba(11,23,37,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid rgba(255,255,255,.12);padding:8px 10px calc(8px + env(safe-area-inset-bottom))}
.bar [hidden]{display:none!important}
.bar .b-geo{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--accent);color:var(--accent-contrast);border:0;border-radius:999px;font-family:var(--f-display);font-weight:800;font-size:14px;letter-spacing:.2px;cursor:pointer}
.bar .b-geo svg{width:17px;height:17px}
.bar .b-geo:active{transform:scale(.985)}
.b-acts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.b-acts a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:46px;border-radius:999px;text-decoration:none;font-family:var(--f-display);font-weight:700;font-size:12px;letter-spacing:.04em}
.b-acts a svg{width:16px;height:16px;flex:0 0 auto}
.b-acts a span{white-space:nowrap}
.b-acts .b-call{background:var(--accent);color:var(--accent-contrast)}
.b-acts .b-maps{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.2)}
.b-acts a:active{transform:scale(.97)}
body.home,body.citypage{padding-bottom:calc(var(--bar-h) + env(safe-area-inset-bottom) + 14px)}
@media(min-width:761px){.bar{display:none}body.home,body.citypage{padding-bottom:0}}

/* Spinner */
.spin{display:inline-block;width:14px;height:14px;border:2px solid #cfd8e1;border-top-color:var(--navy);border-radius:50%;animation:s .7s linear infinite;vertical-align:-2px;margin-right:7px}
@keyframes s{to{transform:rotate(360deg)}}

/* Mobile */
@media(max-width:430px){
  .row{flex-direction:column}
  .row .go{width:100%}
  .searchbox{padding:12px}
  /* card actions become an aligned app-style grid: primary Call spans the
     row, secondary actions pair up — no ragged pill wrap */
  .meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:stretch}
  .meta a.act{justify-content:center;padding:0 10px}
  .meta a.act.call,.meta a.act.site,.meta a.act.book{grid-column:1/-1}
  /* when the secondary actions end on an odd leftover, stretch it */
  .meta a.act:last-of-type:nth-of-type(even){grid-column:1/-1}
  .lic{margin-left:0;grid-column:1/-1;text-align:left;white-space:normal;order:9}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .spin{animation:none}
  .bar .b-geo:active,.b-acts a:active,button.go:active{transform:none}
  .card:hover{transform:none}
}

/* ── Map-pane pass (booking.com split, 2026-08-02) ───────────────────────
   Desktop >=1024px: results list left (~58%), sticky map pane right (~42%,
   viewport height minus the slim top-nav). Mobile keeps list-first + a
   floating "Map" pill that opens the pane full-screen. Leaflet assets are
   vendored under /vendor/ (no CDN); tiles fetch only after a map inits. */
:root{--nav-h:56px}

/* Slim desktop top-nav: wordmark left · Cities · About · primary CTA */
.topnav{display:none}
@media(min-width:1024px){
  .topnav{display:flex;align-items:center;justify-content:space-between;gap:18px;
    position:sticky;top:0;z-index:9200;height:var(--nav-h);padding:0 22px;
    background:var(--surface);border-bottom:1px solid var(--line);box-shadow:var(--sh-sm)}
  .topnav .tn-logo{font-family:var(--f-display);font-size:21px;font-weight:800;letter-spacing:-.4px;
    display:inline-flex;align-items:center;gap:7px;line-height:1;text-decoration:none}
  .topnav .tn-logo .lg-a{color:var(--navy)}.topnav .tn-logo .lg-b{color:var(--accent-ink)}
  .topnav .tn-logo .fmark{width:.92em;height:.92em;color:var(--accent-deep)}
  .topnav .tn-links{display:flex;align-items:center;gap:22px}
  .topnav .tn-links a{color:var(--navy);font-weight:600;font-size:14px;text-decoration:none}
  .topnav .tn-links a:hover{color:var(--accent-ink);text-decoration:underline}
  .topnav .tn-cta{display:inline-flex;align-items:center;min-height:38px;padding:0 17px;
    border-radius:999px;background:var(--accent);color:var(--accent-contrast)!important;
    font-family:var(--f-display);font-weight:800;font-size:13.5px;letter-spacing:.2px;
    text-decoration:none!important;transition:background .15s}
  .topnav .tn-cta:hover{background:var(--accent-deep);color:#fff!important}
  /* the nav carries the wordmark on desktop — drop the duplicate in the hero,
     and drop the mini brand band entirely (crumb + h1 carry page context;
     a navy strip holding only the tagline reads as dead chrome) */
  header.hero .logo{display:none}
  header.mini{display:none}
}

/* Split container */
.split{display:block}
.mappane{display:none}
@media(min-width:1024px){
  .split{display:grid;grid-template-columns:minmax(0,58fr) minmax(0,42fr);align-items:start}
  .results{min-width:0}
  .mappane{display:block;position:sticky;top:var(--nav-h);
    height:calc(100vh - var(--nav-h));border-left:1px solid var(--line);background:var(--navy-50)}
  #dmap{position:absolute;inset:0;z-index:1}
  .mapclose{display:none}
}
/* Map empty state: designed placeholder (dot grid + family glyph), content
   anchored in the upper third so it stays above the fold pre-search */
.mapempty{position:absolute;inset:0;z-index:2;display:flex;align-items:flex-start;justify-content:center;
  text-align:center;padding:110px 24px 24px;pointer-events:none;
  background:linear-gradient(180deg,var(--navy-50),var(--bg)),
    radial-gradient(circle at 1px 1px,#c6d2de 1px,transparent 1.5px);
  background-blend-mode:multiply;background-size:auto,22px 22px}
.mapempty .me-in{max-width:300px}
.mapempty .me-in svg{width:44px;height:44px;color:var(--accent-deep);opacity:.85;margin-bottom:12px}
.mapempty .me-t{font-family:var(--f-display);font-weight:700;font-size:16px;color:var(--navy);
  letter-spacing:-.2px;line-height:1.35;margin-bottom:6px}
.mapempty .me-s{font-size:13.5px;font-weight:500;color:var(--mut);line-height:1.55}
.mapempty[hidden]{display:none}

/* Mobile: full-screen map overlay + floating pill */
@media(max-width:1023px){
  .mappane{position:fixed;inset:0;z-index:9500;background:var(--bg)}
  .mappane.open{display:block}
  #dmap{position:absolute;inset:0;z-index:1}
  .mapclose{position:absolute;top:calc(12px + env(safe-area-inset-top));right:12px;z-index:1002;
    width:42px;height:42px;border-radius:50%;border:0;background:var(--navy);color:#fff;
    font-size:22px;line-height:1;font-weight:600;cursor:pointer;box-shadow:var(--sh-md)}
  body.mapopen{overflow:hidden}
}
/* Phase 9 star P1: the pill docks RIGHT (was bottom-center), clearing the
   center of the full-width Call pills on featured cards at 390 — a mid-card
   Call tap no longer lands on the floating Map control */
.mappill{position:fixed;right:14px;z-index:9100;
  bottom:calc(var(--bar-h) + env(safe-area-inset-bottom) + 16px);
  display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 18px;border:0;
  border-radius:999px;background:var(--navy);color:#fff;font-family:var(--f-display);
  font-weight:800;font-size:14px;letter-spacing:.3px;cursor:pointer;
  box-shadow:0 8px 24px rgba(4,14,25,.4)}
.mappill svg{width:16px;height:16px}
.mappill[hidden]{display:none}
@media(min-width:761px){.mappill{bottom:calc(env(safe-area-inset-bottom) + 20px)}}
@media(min-width:1024px){.mappill{display:none}}

/* Map pins (doormap.js divIcons — currentColor = door accent, gold = featured) */
.dm-pin{color:var(--accent-deep);background:none;border:0}
.dm-pin svg{width:30px;height:30px;display:block;filter:drop-shadow(0 2px 3px rgba(16,33,52,.35));
  transition:transform .12s ease-out;transform-origin:50% 92%}
.dm-pin.dm-feat{color:var(--gold-deep)}
.dm-pin.dm-hot svg{transform:scale(1.22)}
.dm-pin:focus{outline:none}
.dm-pin:focus-visible svg{transform:scale(1.22);filter:drop-shadow(0 0 0 3px var(--accent-bg)) drop-shadow(0 2px 3px rgba(16,33,52,.35))}

/* Pin click -> card flash (desktop sync) */
@keyframes mkflash{0%{box-shadow:0 0 0 3px var(--accent),var(--sh-md)}100%{box-shadow:var(--sh-sm)}}
.card.mk-flash{animation:mkflash 1.6s ease-out 1}

/* Mobile pin tap -> card sheet inside the overlay */
.mapsheet{position:absolute;left:10px;right:10px;bottom:calc(12px + env(safe-area-inset-bottom));
  z-index:1001;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);
  box-shadow:0 -8px 30px rgba(4,14,25,.3);padding:14px 16px}
.mapsheet .sheet-x{position:absolute;top:8px;right:8px;width:34px;height:34px;border:0;
  border-radius:50%;background:var(--navy-50);color:var(--navy);font-size:19px;cursor:pointer}
.mapsheet .nm{padding-right:36px}
.mapsheet .sheet-star{color:var(--gold-deep)}
.mapsheet .meta{margin-top:11px}
.mapsheet .addr .dist{margin-right:8px}

/* Venue detail: small static single-pin panel (Fandango venue pattern) */
.venuemap{position:relative;height:230px;border:1px solid var(--line);border-radius:var(--r);
  overflow:hidden;margin:14px 0 6px;background:var(--navy-50);box-shadow:var(--sh-sm)}
.venuemap #vmap{position:absolute;inset:0}

/* Leaflet chrome harmonized with the door look */
.leaflet-container{font:12px/1.5 var(--f-body);background:#dfe7ef}
.leaflet-control-attribution{font-size:10.5px;background:rgba(255,255,255,.85)}
.leaflet-bar a{color:var(--navy)}
.marker-cluster-small,.marker-cluster-medium,.marker-cluster-large{background-color:transparent}
.marker-cluster div{background:var(--navy);color:#fff;font-family:var(--f-display);font-weight:800;
  border:3px solid #fff;box-shadow:0 2px 8px rgba(16,33,52,.35)}
.marker-cluster span{line-height:24px;color:#fff}
@media(prefers-reduced-motion:reduce){
  .dm-pin svg{transition:none}
  .card.mk-flash{animation:none;box-shadow:0 0 0 3px var(--accent),var(--sh-md)}
}
