/* =========================================================
   baxy-town.css: Baxy layout for the town pages
   Same system as the approved home page (body.bxh).
   Pages use <body class="bxh bxt"> and <div class="bt" id="bt">.
   Breakpoints: 320-750, 751-1000, 1001+
   ========================================================= */
.bxt{--mid:#0B1D30;--deep:#07131F;--mist:#E8EEF4;--gold:#E8B867;--goldd:#9A6F28;--ink:#0B1D30;--mute:#4B5D73;--line:#DCE3EB;--green:#4CBB17}
.bxt main{display:block}
.bt{font-family:"Instrument Sans",system-ui,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}
.bt *{box-sizing:border-box;min-width:0}
.bt a{color:inherit;text-decoration:none}
.bt img{display:block;max-width:100%;height:auto}
.bt :focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.bt .in{max-width:1680px;margin:0 auto;padding:0 clamp(20px,4vw,72px)}
.bt .band{padding:clamp(64px,8vw,120px) 0}
.bt .mid{background:var(--mid);color:#fff}.bt .deep{background:var(--deep);color:#fff}.bt .mist{background:var(--mist)}.bt .paper{background:#fff}

/* type */
.bt h1,.bt h2,.bt h3{margin:0;text-transform:none}
.bt h2{font-size:clamp(32px,3.35vw,48px);line-height:1.06;letter-spacing:-.035em;font-weight:700}
.bt h3{font-size:clamp(20px,1.67vw,24px);line-height:1.2;letter-spacing:-.02em;font-weight:600}
.bt p,.bt li{line-height:1.55;letter-spacing:normal}
.bt .ey{display:block;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--goldd);margin:0 0 16px}
.bt :is(.mid,.deep) .ey{color:var(--gold)}
.bt .lede{font-weight:400!important;font-size:clamp(17px,1.25vw,18px);line-height:1.5;color:var(--mute);margin:20px 0 0;max-width:560px}
.bt :is(.mid,.deep) .lede{color:rgba(255,255,255,.75)}
.bt .acc{color:inherit}
.bt :is(.mid,.deep,.hero) .acc{color:var(--gold)}
.bt .sh{margin-bottom:clamp(40px,5vw,64px)}
.bt .sh.c{text-align:center}.bt .sh.c .lede{margin-left:auto;margin-right:auto}
.bt .src{font-size:13px;line-height:1.55;color:var(--mute);margin:28px 0 0;max-width:980px}
.bt :is(.mid,.deep) .src{color:#B6C5D5}
.bt .src a{text-decoration:underline;text-underline-offset:2px}

/* buttons */
.bt .b{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:56px;padding:0 32px;border-radius:4px;font:600 13px "Instrument Sans",sans-serif;letter-spacing:.14em;text-transform:uppercase;border:1px solid transparent;cursor:pointer;white-space:nowrap;transition:background .2s,color .2s}
.bt .b.g{background:var(--gold);color:var(--deep)}.bt .b.g:hover{background:#F0C77E}
.bt .b.n{background:var(--mid);color:#fff}.bt .b.n:hover{background:#163452}
.bt .b.o{background:transparent;border-color:currentColor}.bt .b.o:hover{background:rgba(127,140,160,.14)}

/* 1. hero: photo, menu sits transparent on top */
html body.bxt #gn{position:absolute!important;left:0;right:0;top:0;z-index:50;background:linear-gradient(180deg,rgba(0,0,0,.38),rgba(0,0,0,0))!important}
html body.bxt #gn .gn-bar{background:transparent!important;box-shadow:none!important;border:0!important}
html body.bxt #gn.fly-open .gn-bar,html body.bxt #gn.m-open .gn-bar,html body.bxt #gn.search-open .gn-bar{background:var(--mid)!important}
.bt .hero{position:relative;min-height:min(86svh,820px);display:flex;flex-direction:column;justify-content:flex-end;align-items:center;text-align:center;color:#fff;padding:150px 20px 56px;overflow:hidden;background:var(--deep)}
.bt .hero .pic{position:absolute;inset:0;background:var(--deep) var(--hero-m) var(--hero-pos,center)/cover no-repeat}
@media(min-width:751px){.bt .hero .pic{background-image:var(--hero)}}
.bt .hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,19,31,.55) 0%,rgba(7,19,31,.12) 30%,rgba(7,19,31,.35) 52%,rgba(7,19,31,.85) 100%)}
.bt .hero>div{position:relative;z-index:2;width:100%}
.bt .hero h1{font-size:clamp(48px,6.4vw,92px);line-height:1;letter-spacing:-.045em;font-weight:700}
.bt .hero .tg{font-weight:500!important;max-width:640px;margin:14px auto 0;font-size:clamp(17px,1.35vw,20px);line-height:1.45;color:rgba(255,255,255,.92)}
.bt .hero :is(h1,.tg){text-shadow:0 1px 2px rgba(7,19,31,.55),0 4px 24px rgba(7,19,31,.5)}
.bt .tpills{width:min(980px,100%);margin:40px auto 0;padding:7px;border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,.14));backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);border:1px solid rgba(255,255,255,.35);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.6),0 30px 50px -20px rgba(0,0,0,.6)}
.bt .tpills .pl{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;justify-content:space-between}
.bt .tpills .pl::-webkit-scrollbar{display:none}
.bt .tpills :is(a,span){flex:none;font-size:14px;font-weight:500;color:#fff;padding:10px 14px;border-radius:8px;white-space:nowrap;text-shadow:none}
.bt .tpills a:hover{background:rgba(0,0,0,.25)}
.bt .tpills span[aria-current]{background:#fff;color:var(--ink);font-weight:600}

.bt .hero.nophoto{min-height:auto;padding-top:180px;background:radial-gradient(70% 90% at 50% 0%,#14304E,transparent 70%),var(--deep)}
.bt .hero.nophoto .pic{display:none}
/* 2. navy stats strip */
.bt .stats{background:var(--mid);color:#fff}
.bt .stats .row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:44px 0}
.bt .stats .st{border-left:1px solid rgba(255,255,255,.14);padding-left:24px}
.bt .stats .st:first-child{border-left:0;padding-left:0}
.bt .stats b{display:block;font-size:clamp(32px,2.9vw,42px);line-height:1;font-weight:600;letter-spacing:-.03em;font-variant-numeric:tabular-nums;margin-bottom:8px}
.bt .stats span{display:block;font-size:15px;line-height:1.35;color:rgba(255,255,255,.85)}
.bt .stats small{display:block;font-size:13px;line-height:1.35;color:var(--gold);margin-top:6px}

/* 3. local guides */
.bt .gl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.bt .gl a{display:flex;flex-direction:column;border-radius:16px;overflow:hidden;background:#fff;border:1px solid var(--line);transition:box-shadow .2s,transform .2s}
.bt .gl a:hover{box-shadow:0 24px 48px -28px rgba(7,19,31,.5);transform:translateY(-2px)}
.bt .gl .gi{aspect-ratio:16/10;overflow:hidden;background:var(--mist)}
.bt .gl .gi img{width:100%;height:100%;object-fit:cover}
.bt .gl .gi.none{display:none}
.bt .gl .gt{display:flex;flex-direction:column;flex:1;padding:22px 24px 24px}
.bt .gl h3{margin-bottom:8px}
.bt .gl p{margin:0 0 18px;font-size:16px;color:var(--mute)}
.bt .gl .go{margin-top:auto;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}

/* 4. why people choose: dark panel */
.bt .panel{margin-top:clamp(64px,8vw,110px);border-radius:16px;background:radial-gradient(60% 70% at 50% 0%,#14304E,transparent 70%),var(--deep);color:#fff;padding:clamp(40px,6vw,88px) clamp(20px,5vw,64px);box-shadow:0 40px 80px -40px rgba(7,19,31,.6)}
.bt .panel .why{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,80px);align-items:start}
.bt .panel .why>div:first-child{padding-bottom:28px;border-bottom:1px solid rgba(255,255,255,.14)}
.bt .cards{display:grid;gap:10px;background:#0F2640;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:16px}
.bt .cd{display:grid;grid-template-columns:40px minmax(0,1fr);gap:16px;background:#132E4C;border:1px solid transparent;border-radius:10px;padding:20px 22px}
.bt .cd:hover{border-color:rgba(232,184,103,.5)}
.bt .cd .nb{width:40px;height:40px;border-radius:8px;background:var(--gold);color:var(--deep);display:grid;place-items:center;font-weight:700;font-size:15px}
.bt .cd h3{margin:6px 0 8px}
.bt .cd p{margin:0;color:rgba(255,255,255,.75);font-size:16px}

/* 5. population */
.bt .pop .split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,96px);align-items:center}
.bt .ptiles{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.bt .pt{background:#fff;border-radius:16px;padding:26px 24px}
.bt .pt.big{background:var(--mid);color:#fff}
.bt .pt b{display:block;font-size:clamp(32px,2.9vw,44px);line-height:1;font-weight:600;letter-spacing:-.03em;margin-bottom:10px}
.bt .pt.big b{color:var(--gold)}
.bt .pt span{display:block;font-size:15px;line-height:1.35;font-weight:500}
.bt .pt small{display:block;font-size:13px;line-height:1.35;color:var(--mute);margin-top:6px}
.bt .pt.big small{color:#B6C5D5}
.bt .gcard{background:#fff;border-radius:16px;padding:clamp(22px,3vw,40px);margin-top:clamp(40px,5vw,64px)}
.bt .gcard .gs{font-size:15px;color:var(--mute);margin:6px 0 20px}
.bt .cwc{position:relative;height:340px}
.bt .pnote{margin:24px 0 0;font-size:16px}
.bt .pnote b{font-weight:600}

/* 6. history */
.bt .hn{max-width:760px;margin:0 auto clamp(48px,6vw,80px);background:#132E4C;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:28px 32px;text-align:center}
.bt .hn h3{color:var(--gold);margin-bottom:10px}
.bt .hn p{margin:0;color:rgba(255,255,255,.8)}
.bt .tl{position:relative;max-width:1100px;margin:0 auto}
.bt .tl::before{content:"";position:absolute;top:6px;bottom:6px;left:50%;width:1px;background:rgba(255,255,255,.18)}
.bt .tlw{position:relative;width:50%;padding:0 48px 40px 0}
.bt .tlw.r{margin-left:50%;padding:0 0 40px 48px}
.bt .tlw .nd{position:absolute;top:8px;right:-6px;width:12px;height:12px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 5px rgba(232,184,103,.18)}
.bt .tlw.r .nd{right:auto;left:-6px}
.bt .tlw.l{text-align:right}
.bt .tlw .yr{font-size:clamp(26px,2.4vw,34px);line-height:1;font-weight:700;letter-spacing:-.03em;color:var(--gold);margin-bottom:10px}
.bt .tlw p{margin:0;color:rgba(255,255,255,.78);font-size:16px}
.bt .tlw.now .nd{background:var(--green);box-shadow:0 0 0 5px rgba(76,187,23,.22)}
.bt .tlw.last{padding-bottom:0}

/* 7. famous people */
.bt .fam .split{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(32px,5vw,96px);align-items:start}
.bt .fgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.bt .fp{background:var(--mist);border-radius:16px;padding:24px 26px 26px}
.bt .fp h3{margin-bottom:6px}
.bt .fp .ft{display:block;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--goldd);margin-bottom:10px}
.bt .fp p{margin:0;font-size:16px;color:var(--mute)}

/* 8. call to action */
.bt .fin{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(40px,5vw,96px);align-items:center}
.bt .fin .btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.bt .fin .soon{display:inline-flex;align-items:center;gap:10px;margin-top:28px;font-size:15px;color:rgba(255,255,255,.8)}
.bt .fin .soon::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--green)}
.bt .box{background:#0F2640;border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:clamp(20px,4vw,48px)}
.bt .cc{background:#fff;color:var(--ink);border-radius:14px;padding:18px;box-shadow:0 30px 60px -34px rgba(0,0,0,.6);max-width:520px;margin:0 auto}
.bt .cc>*{display:block;padding:14px 6px;border-bottom:1px solid var(--line)}
.bt .cc>*:last-child{border-bottom:0}
.bt .cc small{display:block;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--mute);margin-bottom:4px}
.bt .cc b{display:block;font-size:17px;font-weight:600;overflow-wrap:anywhere}
.bt .cc a:hover b{color:var(--goldd)}
.bt .pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:clamp(48px,6vw,72px);padding-top:32px;border-top:1px solid rgba(255,255,255,.14)}
.bt .pills a{border:1px solid rgba(255,255,255,.25);border-radius:4px;padding:8px 14px;font-size:14px;color:#fff}
.bt .pills a:hover{border-color:var(--gold);color:var(--gold)}
.bt .pills a.me{background:var(--gold);border-color:var(--gold);color:var(--deep);font-weight:600}
.bt .fine{font-size:12px;line-height:1.5;color:#B6C5D5;margin:24px 0 0}

/* next step strip: match Baxy */
.bxt .ns{background:var(--mist)!important;border-top:0!important}
.bxt .ns h2{font-weight:700!important;letter-spacing:-.035em!important}
.bxt .ns .ns-t{border-radius:16px!important}
.bxt .ns .ns-n{font-weight:600!important}
.bxt .ns .ns-k{font-weight:600!important;letter-spacing:.14em!important}
.bxt .ns .ns-t.ns-here{background:var(--mid)!important}
.bxt .ns .ns-t.ns-here :is(.ns-k,.ns-n){color:#fff!important}

/* reveal on scroll */
.bt .rv{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
.bt .rv.on{opacity:1;transform:none}

/* 751-1000 */
@media(max-width:1000px){
 .bt .panel .why,.bt .pop .split,.bt .fam .split,.bt .fin{grid-template-columns:1fr}
 .bt .gl{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bt .stats .row{grid-template-columns:1fr 1fr;row-gap:32px}
 .bt .stats .st:nth-child(3){border-left:0;padding-left:0}
 .bt .fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* 320-750 */
@media(max-width:750px){
 .bt .hero{min-height:620px;padding:128px 18px 40px}
 .bt .tpills{margin-top:28px}
 .bt .tpills .pl{justify-content:flex-start}
 .bt .gl{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:82%;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:6px;scrollbar-width:none;margin-right:calc(-1 * clamp(20px,4vw,72px))}
 .bt .gl::-webkit-scrollbar{display:none}
 .bt .gl>a{scroll-snap-align:start}
 .bt .gl a:hover{transform:none}
 .bt .stats .row{padding:36px 0}
 .bt .stats .st{padding-left:16px}
 .bt .ptiles{gap:12px}
 .bt .pt{padding:20px 18px}
 .bt .cwc{height:300px}
 .bt .tl::before{left:6px}
 .bt .tlw,.bt .tlw.l,.bt .tlw.r{width:auto;margin-left:0;padding:0 0 32px 36px;text-align:left}
 .bt .tlw .nd,.bt .tlw.r .nd{left:0;right:auto}
 .bt .fgrid{grid-template-columns:1fr}
 .bt .fin .btns .b{width:100%}
 .bt .cd{grid-template-columns:1fr;gap:12px;padding:20px}
}
@media(max-width:380px){.bt .stats .row{grid-template-columns:1fr}.bt .stats .st{border-left:0;padding-left:0}.bt .ptiles{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.bt .rv{opacity:1;transform:none;transition:none}.bt .b,.bt .gl a{transition:none}}
.bt .pcred{margin:20px 0 0;font-size:12px;line-height:1.5}

/* ===== local guide pages (schools, parks, commuting, healthcare) ===== */
.bt .gx{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.bt .gx>div{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px 28px 30px;display:flex;flex-direction:column}
.bt .mist .gx>div{border-color:transparent}
.bt .gx h3{margin-bottom:10px}
.bt .gx p{margin:0 0 18px;color:var(--mute);font-size:16px}
.bt .gx .go{margin-top:auto;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ink);text-decoration:none}
.bt .gx .go:hover{color:var(--goldd)}
.bt .gnote{display:flex;gap:12px;align-items:flex-start;margin-top:24px;background:var(--mist);border-radius:16px;padding:20px 24px;font-size:16px}
.bt .gnote::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--green);margin-top:9px}
.bt .gnote b{font-weight:600}
.bt .stp{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;counter-reset:s}
.bt .stp>div{background:#fff;border-radius:16px;padding:28px}
.bt .stp .n{width:40px;height:40px;border-radius:8px;background:var(--mid);color:#fff;display:grid;place-items:center;font-weight:700;margin-bottom:16px}
.bt .stp h3{margin-bottom:8px}
.bt .stp p{margin:0;color:var(--mute);font-size:16px}
.bt .tblw{overflow-x:auto;border-radius:16px;border:1px solid var(--line)}
.bt table.tbl{width:100%;border-collapse:collapse;font-size:16px;background:#fff}
.bt table.tbl th{background:var(--mid);color:#fff;text-align:left;font-weight:600;font-size:13px;letter-spacing:.08em;text-transform:uppercase;padding:14px 18px}
.bt table.tbl td{padding:16px 18px;border-top:1px solid var(--line);vertical-align:top}
.bt table.tbl td:last-child{font-weight:600;white-space:nowrap}
.bt .chk2{list-style:none;padding:0;margin:0}
.bt .chk2 li{display:flex;gap:12px;align-items:flex-start;padding:6px 0;font-size:17px}
.bt .chk2 li::before{content:"\2713";flex:none;width:22px;height:22px;border-radius:4px;background:var(--green);color:#fff;font-size:13px;display:grid;place-items:center;margin-top:3px}
.bt .two2{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,96px);align-items:start}
.bt .hero.gd{min-height:min(64svh,620px)}
.bt .acts{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
@media(max-width:1000px){.bt .two2{grid-template-columns:1fr}.bt .stp{grid-template-columns:1fr}}
@media(max-width:750px){.bt .gx{grid-template-columns:1fr}.bt .hero.gd{min-height:520px}.bt .acts .b{width:100%}.bt table.tbl td:last-child{white-space:normal}}
.bt .hero.gd h1{font-size:clamp(34px,5.2vw,76px);overflow-wrap:break-word;hyphens:manual}
@media(max-width:750px){
 .bt .tblw{border:0;overflow:visible}
 .bt table.tbl thead{display:none}
 .bt table.tbl,.bt table.tbl tbody,.bt table.tbl tr,.bt table.tbl td{display:block;width:100%}
 .bt table.tbl tr{border:1px solid var(--line);border-radius:16px;margin-bottom:12px;overflow:hidden;background:#fff}
 .bt table.tbl td{border-top:1px solid var(--line);padding:12px 16px}
 .bt table.tbl td:first-child{border-top:0;background:var(--mid);color:#fff;font-weight:600}
 .bt table.tbl td[data-l]::before{content:attr(data-l);display:block;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--mute);margin-bottom:2px}
}
@media(max-width:380px){.bt .hero.gd h1{font-size:30px}}
/* Everything nearby map (near-map.js) */
.bt .nm .nmw{max-width:1400px;margin:0 auto}
.bt .nm-keys{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 0 18px}
.bt .nm-keys button{flex:none;display:inline-flex;align-items:center;gap:8px;font:500 14px/1 inherit;font-family:inherit;color:var(--mid,#0B1D30);background:#fff;border:1px solid #CFD8E3;border-radius:999px;padding:10px 14px;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s}
.bt .nm-keys button i{width:12px;height:12px;border-radius:50%;background:var(--c);flex:none;box-shadow:0 0 0 2px #fff,0 0 0 3px var(--c)}
.bt .nm-keys button small{font-size:12px;color:#4B5D73;font-weight:500}
.bt .nm-keys button[aria-pressed=false]{background:transparent;color:#6B7A8C;border-style:dashed}
.bt .nm-keys button[aria-pressed=false] i{background:transparent}
.bt .nm-keys button[aria-pressed=true]{border-color:var(--c);box-shadow:inset 0 0 0 1px var(--c)}
.bt .nm-keys .nm-all{background:var(--mid,#0B1D30);color:#fff;border-color:var(--mid,#0B1D30);text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:600;border-radius:4px}
.bt .nm-map{position:relative;z-index:0;height:560px;border-radius:16px;overflow:hidden;border:1px solid #DCE3EB;background:#E8EEF4;box-shadow:0 10px 30px rgba(11,29,48,.12)}
.bt .nm-hint{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);z-index:800;background:#0B1D30;color:#fff;border:0;border-radius:4px;padding:10px 14px;font:600 12px/1 "Instrument Sans",system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;box-shadow:0 6px 18px rgba(7,19,31,.3);white-space:nowrap}
.bt .nm-note{font-size:13.5px;color:#4B5D73;margin:12px 0 0}
.nm-ic{background:none;border:0}
.nm-pin{display:flex;align-items:center;justify-content:center;width:100%;height:100%;border-radius:50%;background:var(--c);border:2px solid #fff;box-shadow:0 2px 6px rgba(7,19,31,.35);box-sizing:border-box;transition:transform .15s}
.nm-pin svg{width:62%;height:62%;fill:#fff}
.leaflet-marker-icon:hover .nm-pin,.leaflet-marker-icon:focus .nm-pin{transform:scale(1.18)}
.nm-pop{font-family:"Instrument Sans",system-ui,sans-serif;line-height:1.35}
.nm-pop .nm-ty{display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
.nm-pop b{display:block;font-size:15px;color:#0B1D30}
.nm-pop p{margin:4px 0 0!important;font-size:13px!important;color:#4B5D73}
.nm-pop .nm-go{border:0;cursor:pointer;font-family:inherit;display:inline-block;margin-top:10px;background:#E8B867;color:#07131F!important;text-decoration:none;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:8px 12px;border-radius:4px}
.bt .nm-body{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:start}
.bt .nm-list{display:grid;grid-template-columns:1fr;gap:10px;align-items:start;}
.bt .nm-list details{background:#fff;border-radius:16px;border:1px solid #DCE3EB;padding:0}
.bt .nm-list summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:14px 16px;font-weight:600;font-size:15px;color:#0B1D30}
.bt .nm-list summary::-webkit-details-marker{display:none}
.bt .nm-list summary::after{content:"+";margin-left:auto;font-size:20px;font-weight:400;color:#4B5D73}
.bt .nm-list details[open] summary::after{content:"\2212"}
.bt .nm-list summary i{width:10px;height:10px;border-radius:50%;background:var(--c);flex:none}
.bt .nm-list summary small{color:#4B5D73;font-weight:500}
.bt .nm-list ul{list-style:none;margin:0;padding:0 16px 14px;max-height:300px;overflow:auto;scrollbar-width:none;-webkit-mask-image:linear-gradient(180deg,#000 85%,transparent);mask-image:linear-gradient(180deg,#000 85%,transparent)}
.bt .nm-list ul::-webkit-scrollbar{display:none}
.bt .nm-list li{border-top:1px solid #EEF2F6;font-size:14px;line-height:1.4}
.bt .nm-list li button{display:block;width:100%;text-align:left;background:none;border:0;padding:9px 8px;margin:0 -8px;width:calc(100% + 16px);border-radius:8px;cursor:pointer;font:inherit;color:inherit}
.bt .nm-list li button:hover,.bt .nm-list li button:focus-visible{background:#F1F5F9}
.bt .nm-list li button.on{background:#FFF6E3;box-shadow:inset 3px 0 0 var(--c)}
.bt .nm-list li b{display:block;font-weight:600;color:#0B1D30}
.bt .nm-list li span{color:#4B5D73;font-size:13px}
@media(max-width:1000px){.bt .nm-body{grid-template-columns:1fr}.bt .nm-map{height:460px}.bt .nm-list{grid-template-columns:repeat(2,1fr);max-height:none;overflow:visible;margin-top:8px}}
@media(max-width:750px){.bt .nm-keys{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;margin:0 calc(-1*clamp(20px,4vw,72px)) 14px;padding:2px clamp(20px,4vw,72px)}
 .bt .nm-keys::-webkit-scrollbar{display:none}
 .bt .nm-map{height:380px;border-radius:16px}
 .bt .nm-list{grid-template-columns:1fr}}
/* on-site directions panel */
.bt .nm-mapw{position:relative}
.bt .nm-dir{position:absolute;top:12px;left:56px;z-index:900;width:340px;max-height:536px;overflow:auto;scrollbar-width:none;background:#fff;border-radius:16px;box-shadow:0 14px 40px rgba(7,19,31,.28);padding:18px 18px 16px;font-size:14px;line-height:1.45;color:#0B1D30}
.bt .nm-dir::-webkit-scrollbar{display:none}
.bt .nm-dir[hidden]{display:none}
.bt .nm-dir .nm-x{position:absolute;top:8px;right:10px;border:0;background:none;font-size:26px;line-height:1;color:#4B5D73;cursor:pointer;padding:4px}
.bt .nm-dir .nm-ty{display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.bt .nm-dir .nm-to{display:block;font-size:17px;margin:2px 28px 0 0}
.bt .nm-dir .nm-ad{margin:2px 0 0;color:#4B5D73;font-size:13px}
.bt .nm-dir label{display:block;font-size:12px;font-weight:600;margin:14px 0 6px;color:#0B1D30}
.bt .nm-dir .nm-f{display:flex;flex-wrap:wrap;gap:8px}
.bt .nm-dir .nm-f label{flex:0 0 100%;margin-bottom:0}
.bt .nm-dir input{flex:1;min-width:0;height:44px;border:1px solid #CFD8E3;border-radius:6px;padding:0 12px;font:16px "Instrument Sans",system-ui,sans-serif}
.bt .nm-dir .nm-f button,.bt .nm-dir .nm-me{height:44px;border:0;border-radius:4px;cursor:pointer;font:600 12px/1 "Instrument Sans",system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.bt .nm-dir .nm-f button{background:#E8B867;color:#07131F;padding:0 16px}
.bt .nm-dir .nm-me{margin-top:8px;width:100%;background:#0B1D30;color:#fff}
.bt .nm-dir .nm-msg{margin:12px 0 0;color:#4B5D73}
.bt .nm-dir .nm-sum{margin:14px 0 6px;font-size:15px}
.bt .nm-dir ol{margin:0;padding:0 0 0 20px}
.bt .nm-dir ol li{padding:6px 0;border-top:1px solid #EEF2F6}
.bt .nm-dir ol li span{display:block;color:#4B5D73;font-size:12px}
.bt .nm-dir .nm-fine{font-size:12px;color:#4B5D73;margin:8px 0 0}
.bt .nm-dir .nm-gm{display:inline-block;margin-top:12px;font-size:13px;font-weight:600;color:#0B1D30;text-decoration:underline}
@media(max-width:750px){.bt .nm-dir{position:relative;top:auto;left:auto;width:auto;max-height:none;margin-top:12px;box-shadow:0 6px 20px rgba(7,19,31,.12)}}
/* single control: category list */
.bt .nm-lh{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:2px 2px 4px}
.bt .nm-lh span{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#4B5D73}
.bt .nm-lh .nm-all{background:#0B1D30;color:#fff;border:0;border-radius:4px;padding:10px 12px;font:600 12px/1 "Instrument Sans",system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.bt .nm-list summary i{background:transparent;box-shadow:inset 0 0 0 2px var(--c);width:12px;height:12px}
.bt .nm-list details.on summary i{background:var(--c)}
.bt .nm-list details.on{border-color:var(--c);box-shadow:inset 0 0 0 1px var(--c)}
.bt .nm-clr{position:absolute;top:12px;right:12px;z-index:800;display:flex;align-items:center;gap:10px;background:#fff;color:#0B1D30;border:2px solid #D62828;border-radius:4px;padding:8px 6px 8px 12px;font:600 12px/1 "Instrument Sans",system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;box-shadow:0 6px 18px rgba(7,19,31,.2)}
.bt .nm-clr[hidden]{display:none}
.bt .nm-clr span{font-size:20px;line-height:.8;padding:0 6px;color:#D62828}
.bt .nm-mapw>.nm-clr{z-index:900}
.nm-gpin{position:absolute;cursor:pointer}
.nm-start{display:block;width:14px;height:14px;margin:4px;border-radius:50%;background:#E8B867;border:3px solid #fff;box-shadow:0 1px 4px rgba(7,19,31,.4)}
.nm-google .gm-style .gm-style-iw-c{border-radius:12px;padding:14px 16px!important}
.nm-google .gm-style .gm-style-iw-d{overflow:auto!important}
.bt .nm-map.nm-google+.nm-dir{top:62px;left:12px;max-height:calc(100% - 74px)}
/* Google-Maps-style place card */
.bt .nm-dir.nm-card{padding:0;overflow:auto}
.bt .nm-card .nm-x{z-index:2;background:rgba(255,255,255,.92);border-radius:50%;width:34px;height:34px;padding:0;top:10px;right:10px;box-shadow:0 1px 4px rgba(7,19,31,.25)}
.bt .nm-card .nm-ph{height:170px;background:#E8EEF4 center/cover no-repeat;border-radius:16px 16px 0 0}
.bt .nm-card .nm-phc{margin:4px 18px 0;font-size:11px;color:#6B7A8C}
.bt .nm-card .nm-cb{padding:16px 18px 18px}
.bt .nm-card .nm-big{font-size:21px;line-height:1.2;letter-spacing:-.01em;margin-right:34px}
.bt .nm-card .nm-rt{margin:6px 0 2px;font-size:14px;color:#4B5D73}
.bt .nm-card .nm-rt b{color:#0B1D30}
.bt .nm-card .nm-st{color:#E8A33D;letter-spacing:1px}
.bt .nm-card .nm-ty{margin-top:4px}
.bt .nm-acts{display:flex;gap:6px;justify-content:space-between;margin:16px 0 6px;padding-bottom:14px;border-bottom:1px solid #EEF2F6}
.bt .nm-ab{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;background:none;border:0;cursor:pointer;color:#0B1D30;text-decoration:none!important;font:600 12px/1.2 "Instrument Sans",system-ui,sans-serif;padding:0}
.bt .nm-ab svg{width:40px;height:40px;padding:9px;border-radius:50%;background:#E8EEF4;fill:#0B1D30;box-sizing:border-box}
.bt .nm-ab:first-child svg{background:#0B1D30;fill:#fff}
.bt .nm-ab:hover svg{background:#E8B867;fill:#07131F}
.bt .nm-rows{list-style:none;margin:6px 0 0;padding:0}
.bt .nm-rows li{display:flex;gap:12px;align-items:flex-start;padding:9px 0;font-size:14px;line-height:1.4;color:#0B1D30;border-bottom:1px solid #F1F4F7}
.bt .nm-rows li svg{flex:none;width:20px;height:20px;fill:#4B5D73;margin-top:1px}
.bt .nm-rows a{color:#0B1D30;word-break:break-word}
/* place panel, Google Maps look (v2) */
.bt .nm-map.nm-google+.nm-dir{top:12px;left:12px;max-height:calc(100% - 24px)}
.bt .nm-map.nm-google~.nm-clr{top:auto;bottom:22px;left:12px;right:auto}
@media(min-width:751px){
 .bt .nm-map.nm-google+.nm-dir.nm-card{top:0;left:0;bottom:auto;width:390px;height:560px;max-height:none;border-radius:16px 0 0 16px;box-shadow:2px 0 14px rgba(7,19,31,.18)}}
@media(min-width:751px) and (max-width:1000px){.bt .nm-map.nm-google+.nm-dir.nm-card{height:460px;width:340px}}
.bt .nm-card .nm-ph{height:210px;border-radius:0}
@media(min-width:751px){.bt .nm-card .nm-ph{border-radius:16px 0 0 0}}
.bt .nm-card .nm-x{width:36px;height:36px;font-size:22px}
.bt .nm-card h3.nm-big{font-size:24px;font-weight:500;letter-spacing:-.01em;line-height:1.2;margin:0 36px 0 0;color:#202124}
.bt .nm-card .nm-rt{margin:6px 0 0;font-size:14px;color:#5F6368}
.bt .nm-card .nm-rt b{color:#202124;font-weight:500}
.bt .nm-card .nm-st{color:#FBBC04;letter-spacing:1px;font-size:14px}
.bt .nm-cat{margin:2px 0 0;font-size:14px;color:#5F6368}
.bt .nm-cat svg{width:15px;height:15px;fill:#1A73E8;vertical-align:-2px}
.bt .nm-tabs{display:flex;margin:14px -18px 0;border-bottom:1px solid #E8EAED}
.bt .nm-tabs button{flex:1;background:none;border:0;border-bottom:3px solid transparent;padding:12px 6px 11px;font:500 14px/1 "Instrument Sans",system-ui,sans-serif;color:#5F6368;cursor:pointer}
.bt .nm-tabs button.on{color:#0B7A75;border-bottom-color:#0B7A75}
.bt .nm-card .nm-acts{border-bottom:1px solid #E8EAED;margin:16px -18px 0;padding:0 10px 16px;justify-content:space-around}
.bt .nm-card .nm-ab{font-weight:500;color:#0B7A75;font-size:12.5px}
.bt .nm-card .nm-ab svg{width:42px;height:42px;padding:10px;background:#E1F3F1;fill:#0B7A75}
.bt .nm-card .nm-ab:first-child svg{background:#0B7A75;fill:#fff}
.bt .nm-card .nm-ab:hover svg{background:#C5E8E4;fill:#0B7A75}
.bt .nm-card .nm-ab:first-child:hover svg{background:#08615D;fill:#fff}
.bt .nm-card .nm-rows{margin:4px -18px 0}
.bt .nm-card .nm-rows li{padding:13px 18px;gap:22px;border-bottom:0;font-size:14.5px;color:#202124}
.bt .nm-card .nm-rows li:hover{background:#F6F8F9}
.bt .nm-card .nm-rows li svg{fill:#0B7A75;width:22px;height:22px}
.bt .nm-card .nm-rows a{color:#202124;text-decoration:none}
.bt .nm-revs{list-style:none;margin:6px 0 0;padding:0}
.bt .nm-revs li{padding:14px 0;border-bottom:1px solid #E8EAED;font-size:14px;color:#202124}
.bt .nm-revs li b{display:block;font-weight:500}
.bt .nm-revs small{color:#5F6368}
.bt .nm-revs p{margin:6px 0 0;line-height:1.5;color:#3C4043}
.bt .nm-h4{margin:14px 0 6px;font-size:15px;font-weight:600;color:#202124}
.bt .nm-hrs{list-style:none;margin:0;padding:0}
.bt .nm-hrs li{display:flex;justify-content:space-between;gap:12px;padding:5px 0;font-size:14px;color:#202124}
.bt .nm-hrs li span:last-child{text-align:right;color:#3C4043}
.bt .nm-sumtx{margin:14px 0 0;font-size:14px;line-height:1.5;color:#3C4043}
.bt .nm-acc{display:flex;gap:8px;align-items:center;margin:14px 0 0;font-size:14px}
.bt .nm-acc svg{width:18px;height:18px;fill:#1A73E8}
.nm-gpin:has(.nm-red){z-index:9;pointer-events:none}
.nm-red{position:absolute;left:50%;bottom:50%;width:30px;height:42px;transform:translateX(-50%);filter:drop-shadow(0 2px 2px rgba(0,0,0,.3))}
.nm-red svg{width:100%;height:100%;display:block}
/* place panel sits beside the map (left), map moves over */
@media(min-width:751px){
 .bt .nm-mapw .nm-map{transition:margin-left .25s ease}
 .bt .nm-mapw.nm-has .nm-map{margin-left:390px;border-radius:0 16px 16px 0}
 .bt .nm-mapw.nm-has .nm-note{margin-left:0}
 .bt .nm-mapw.nm-has .nm-map.nm-google+.nm-dir.nm-card{box-shadow:0 10px 30px rgba(11,29,48,.12);border:1px solid #DCE3EB;border-right:0}}
@media(min-width:751px) and (max-width:1000px){.bt .nm-mapw.nm-has .nm-map{margin-left:340px}}
/* full-width map like Google Maps: list / place card as a left panel inside the map */
.bt .nm .nmw{max-width:none;width:100vw;margin-left:calc(50% - 50vw);margin-right:0}
@media(min-width:751px){
 .bt .nm{padding-bottom:0!important}
 .bt .nm-body{display:block;position:relative;height:min(86vh,880px);min-height:620px;border-top:1px solid #DCE3EB}
 .bt .nm-mapw{position:absolute;inset:0}
 .bt .nm-mapw .nm-map,.bt .nm-mapw.nm-has .nm-map{height:100%!important;border-radius:0!important;border:0;box-shadow:none;margin-left:0!important}
 .bt .nm-list{position:absolute;left:0;top:0;bottom:0;width:390px;z-index:5;background:#fff;overflow:auto;padding:18px 16px 24px;box-shadow:2px 0 14px rgba(7,19,31,.14);scrollbar-width:thin;max-height:none;margin:0}
 .bt .nm-list details{border-radius:12px}
 .bt .nm-map.nm-google+.nm-dir.nm-card,.bt .nm-mapw.nm-has .nm-map.nm-google+.nm-dir.nm-card,.bt .nm-dir.nm-card{position:absolute;top:0!important;left:0!important;width:390px!important;height:100%!important;max-height:none!important;z-index:20;border-radius:0!important;border:0!important;box-shadow:2px 0 14px rgba(7,19,31,.18)!important}
 .bt .nm-card .nm-ph{border-radius:0!important}
 .bt .nm-dir:not(.nm-card),.bt .nm-map.nm-google+.nm-dir:not(.nm-card){left:402px!important;top:12px!important;max-height:calc(100% - 24px)!important}
 .bt .nm-mapw>.nm-clr,.bt .nm-map.nm-google~.nm-clr{left:402px!important;right:auto;top:auto;bottom:28px}
 .bt .nm-mapw .nm-note{position:absolute;left:402px;bottom:6px;z-index:4;margin:0;background:rgba(255,255,255,.88);padding:3px 8px;border-radius:4px;font-size:12px;max-width:calc(100% - 760px)}}
@media(min-width:751px) and (max-width:1000px){
 .bt .nm-list,.bt .nm-dir.nm-card,.bt .nm-map.nm-google+.nm-dir.nm-card{width:330px!important}
 .bt .nm-dir:not(.nm-card),.bt .nm-mapw>.nm-clr,.bt .nm-mapw .nm-note{left:342px!important}
 .bt .nm-mapw .nm-note{display:none}}
@media(max-width:750px){.bt .nm-map{height:62vh;min-height:380px;border-radius:0!important;border-left:0;border-right:0}
 .bt .nm-list{padding:0 16px}.bt .nm-mapw .nm-note{padding:0 16px}.bt .nm-dir{margin:12px 12px 0}}
/* place panel: more breathing room */
.bt .nm-dir.nm-card .nm-cb{padding:22px 28px 28px!important}
.bt .nm-dir.nm-card .nm-phc{margin:8px 28px 0!important}
.bt .nm-dir.nm-card h3.nm-big{margin:0 0 4px!important;font-size:25px}
.bt .nm-dir.nm-card .nm-rt{margin:8px 0 2px!important}
.bt .nm-dir.nm-card .nm-cat{margin:4px 0 0!important}
.bt .nm-dir.nm-card .nm-tabs{margin:20px -28px 0!important}
.bt .nm-dir.nm-card .nm-acts{margin:20px -28px 0!important;padding:0 20px 20px!important}
.bt .nm-dir.nm-card .nm-rows{margin:8px -28px 0!important}
.bt .nm-dir.nm-card .nm-rows li{padding:14px 28px!important;gap:24px!important;line-height:1.45}
.bt .nm-dir.nm-card .nm-revs li,.bt .nm-dir.nm-card .nm-hrs li{padding-left:0;padding-right:0}
.bt .nm-dir.nm-card .nm-x{top:14px!important;right:14px!important}
@media(min-width:1001px){.bt .nm-list,.bt .nm-dir.nm-card,.bt .nm-map.nm-google+.nm-dir.nm-card{width:410px!important}
 .bt .nm-dir:not(.nm-card),.bt .nm-mapw>.nm-clr,.bt .nm-mapw .nm-note{left:422px!important}
 .bt .nm-card .nm-ph{height:220px}}
/* Google-Maps-style floating panel with address search */
.bt .nm-q{display:flex;align-items:center;background:#fff;border-radius:28px;box-shadow:0 2px 6px rgba(60,64,67,.3),0 1px 2px rgba(60,64,67,.15);height:50px;padding:0 6px 0 20px;margin:0 16px 12px}
.bt .nm-q input{flex:1;min-width:0;border:0!important;outline:0;box-shadow:none!important;background:transparent!important;font:16px "Instrument Sans",system-ui,sans-serif!important;color:#202124;height:48px;min-height:0!important;padding:0!important}
.bt .nm-q button{flex:none;width:40px;height:40px;border:0;background:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center}
.bt .nm-q button svg{width:24px;height:24px;fill:#5F6368}
.bt .nm-q.busy button svg{fill:#0B7A75;animation:nmspin 1s linear infinite}
@keyframes nmspin{to{transform:rotate(360deg)}}
.bt .nm-near{list-style:none;margin:0 -28px;padding:0}
.bt .nm-near button{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:none;border:0;padding:11px 28px;cursor:pointer;font:inherit;color:#202124}
.bt .nm-near button:hover{background:#F6F8F9}
.bt .nm-near i{flex:none;width:12px;height:12px;border-radius:50%;background:var(--c)}
.bt .nm-near span{flex:1;min-width:0}
.bt .nm-near b{display:block;font-weight:500;font-size:14.5px}
.bt .nm-near small{display:block;color:#5F6368;font-size:12.5px}
.bt .nm-near em{font-style:normal;font-size:13px;color:#0B7A75;font-weight:600;white-space:nowrap}
.bt .nm-dir.nm-card .nm-h4{margin:20px 0 6px}
@media(min-width:751px){
 .bt .nm-q{position:absolute;top:12px;left:12px;width:386px;margin:0;z-index:30}
 .bt .nm-list{top:74px!important;left:12px!important;bottom:12px!important;width:386px!important;border-radius:16px!important;box-shadow:0 2px 8px rgba(60,64,67,.3)!important}
 .bt .nm-dir.nm-card,.bt .nm-map.nm-google+.nm-dir.nm-card,.bt .nm-mapw.nm-has .nm-map.nm-google+.nm-dir.nm-card{top:74px!important;left:12px!important;width:386px!important;height:calc(100% - 86px)!important;border-radius:16px!important;box-shadow:0 2px 8px rgba(60,64,67,.3)!important;overflow:auto}
 .bt .nm-dir.nm-card .nm-ph{border-radius:16px 16px 0 0!important}}
@media(min-width:751px) and (max-width:1000px){
 .bt .nm-q,.bt .nm-list,.bt .nm-dir.nm-card,.bt .nm-map.nm-google+.nm-dir.nm-card{width:318px!important}}
@media(max-width:750px){.bt .nm-q{margin:0 16px 12px}}
@media(min-width:751px){.bt .nm-mapw .leaflet-top.leaflet-left{left:410px}}
/* left panel moved 30px in from the map edge */
@media(min-width:751px){
 .bt .nm-q{left:42px!important}
 .bt .nm-list,.bt .nm-dir.nm-card,.bt .nm-map.nm-google+.nm-dir.nm-card,.bt .nm-mapw.nm-has .nm-map.nm-google+.nm-dir.nm-card{left:42px!important}
 .bt .nm-dir:not(.nm-card),.bt .nm-map.nm-google+.nm-dir:not(.nm-card),.bt .nm-mapw>.nm-clr,.bt .nm-map.nm-google~.nm-clr,.bt .nm-mapw .nm-note{left:452px!important}
 .bt .nm-mapw .leaflet-top.leaflet-left{left:440px}}
@media(min-width:751px) and (max-width:1000px){
 .bt .nm-dir:not(.nm-card),.bt .nm-map.nm-google+.nm-dir:not(.nm-card),.bt .nm-mapw>.nm-clr{left:372px!important}
 .bt .nm-mapw .leaflet-top.leaflet-left{left:372px}}
/* bigger "Everything nearby" heading and intro */
.bt .nm .sh .ey{font-size:15px!important;letter-spacing:.16em}
.bt .nm .sh h2{font-size:clamp(40px,6vw,88px)!important;line-height:1!important;letter-spacing:-.045em!important;font-weight:700!important}
.bt .nm .sh .lede{font-size:clamp(18px,1.6vw,24px)!important;line-height:1.45!important;max-width:820px!important;color:#24364A!important;margin-top:18px}
/* 3D view */
.nm-3dbtn{margin:10px 10px 0 0;height:40px;min-width:48px;padding:0 14px;background:#fff;border:0;border-radius:2px;box-shadow:0 1px 4px -1px rgba(0,0,0,.3);font:500 18px/40px Roboto,Arial,sans-serif;color:#565656;cursor:pointer}
.nm-3dbtn:hover{color:#000;background:#EBEBEB}
.bt .nm-3d{position:absolute;top:0;left:0;right:0;height:100%;z-index:15;background:#0B1D30}
.bt .nm-3d gmp-map-3d{display:block;width:100%;height:100%}
.bt .nm-3d button{position:absolute;bottom:26px;z-index:2;height:44px;padding:0 18px;border:0;border-radius:4px;font:600 12px/44px "Instrument Sans",system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer;box-shadow:0 6px 18px rgba(7,19,31,.35)}
.bt .nm-3d .nm-3dx{right:24px;background:#0B1D30;color:#fff}
.bt .nm-3d .nm-3dspin{right:190px;background:#E8B867;color:#07131F}
@media(max-width:750px){.bt .nm-3d{height:62vh;min-height:380px;bottom:auto}.bt .nm-3d .nm-3dspin{right:auto;left:16px}.bt .nm-3d .nm-3dx{right:16px}}
/* 3D controls */
.bt .nm-3dui{position:absolute;right:16px;top:50%;transform:translateY(-50%);z-index:3;display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.bt .nm-3dui button{position:static;display:flex;align-items:center;justify-content:center;gap:8px;min-width:44px;height:44px;padding:0;border:0;border-radius:8px;background:#fff;color:#0B1D30;cursor:pointer;box-shadow:0 2px 8px rgba(7,19,31,.35);font:600 22px/1 "Instrument Sans",system-ui,sans-serif;text-transform:none;letter-spacing:0}
.bt .nm-3dui .z.in{border-radius:8px 8px 0 0;margin-bottom:-8px;border-bottom:1px solid #E8EEF4}
.bt .nm-3dui .z.out{border-radius:0 0 8px 8px}
.bt .nm-3dui .north{position:relative;width:44px;border-radius:50%}
.bt .nm-3dui .north svg{width:26px;height:26px;transition:transform .2s}
.bt .nm-3dui .north b{position:absolute;top:-2px;left:50%;transform:translateX(-50%);font-size:9px;color:#D62828;background:#fff;border-radius:6px;padding:0 3px;line-height:12px}
.bt .nm-3dui .rad{padding:0 14px 0 12px;font-size:13px;font-weight:600;letter-spacing:.04em}
.bt .nm-3dui .rad svg{width:22px;height:22px}
.bt .nm-3dui .rad.on{background:#E8B867;color:#07131F}
@media(max-width:750px){.bt .nm-3dui{right:10px}}
/* 3D controls v2: bottom-right column, aligned */
.bt .nm-3dui{top:auto!important;bottom:28px;right:16px;transform:none!important;align-items:center;gap:10px}
.bt .nm-3dui .zm,.bt .nm-3dui .rot{display:flex;flex-direction:column;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(7,19,31,.35)}
.bt .nm-3dui .rot{flex-direction:row}
.bt .nm-3dui .zm button,.bt .nm-3dui .rot button{width:44px!important;min-width:44px;height:44px;border-radius:0!important;margin:0!important;box-shadow:none!important;border:0!important}
.bt .nm-3dui .zm button+button{border-top:1px solid #E1E7EE!important}
.bt .nm-3dui .rot button+button{border-left:1px solid #E1E7EE!important}
.bt .nm-3dui .rot svg{width:22px;height:22px;fill:#0B1D30}
.bt .nm-3dui .north{width:44px!important}
.bt .nm-3dui>button:hover,.bt .nm-3dui .zm button:hover,.bt .nm-3dui .rot button:hover{background:#F1F5F9}
.bt .nm-3d .nm-3dx{right:124px!important}
@media(max-width:750px){.bt .nm-3dui{bottom:84px;right:10px}.bt .nm-3d .nm-3dx{right:auto!important;left:16px}}
/* 3D controls v3: one clean control card, Back to map top-right, side panels hidden in 3D */
.bt .nm-body.in3d .nm-q,.bt .nm-body.in3d .nm-list,.bt .nm-body.in3d .nm-dir,.bt .nm-body.in3d .nm-clr{display:none!important}
.bt .nm-3dui{position:absolute;right:20px!important;bottom:28px!important;top:auto!important;transform:none!important;display:flex;flex-direction:column;align-items:center;gap:12px;padding:12px;background:#fff;border-radius:14px;box-shadow:0 4px 18px rgba(7,19,31,.35)}
.bt .nm-3dui .north{width:52px!important;height:52px!important;border-radius:50%!important;box-shadow:inset 0 0 0 2px #E1E7EE!important;background:#fff}
.bt .nm-3dui .north svg{width:30px;height:30px}
.bt .nm-3dui .rot,.bt .nm-3dui .zm{display:flex!important;flex-direction:row!important;box-shadow:none!important;border:1px solid #E1E7EE;border-radius:10px;overflow:hidden}
.bt .nm-3dui .rot button,.bt .nm-3dui .zm button{width:46px!important;min-width:46px;height:44px;background:#fff;border:0!important;border-radius:0!important;margin:0!important;box-shadow:none!important;font-size:24px;line-height:44px;color:#0B1D30;touch-action:none;user-select:none}
.bt .nm-3dui .zm button+button{border-top:0!important;border-left:1px solid #E1E7EE!important}
.bt .nm-3dui .rot button+button{border-left:1px solid #E1E7EE!important}
.bt .nm-3dui .rot button:active,.bt .nm-3dui .zm button:active{background:#E8B867}
.bt .nm-3dui .z.in,.bt .nm-3dui .z.out{margin:0!important}
.bt .nm-3dui::after{content:"Hold to spin";display:block;font:600 10px/1 "Instrument Sans",system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#6B7A8C;order:2;margin-top:-6px}
.bt .nm-3dui .rot{order:1}.bt .nm-3dui .zm{order:3}.bt .nm-3dui .north{order:0}
.bt .nm-3d .nm-3dx{top:20px!important;bottom:auto!important;right:20px!important;left:auto!important}
@media(max-width:750px){.bt .nm-3dui{right:12px!important;bottom:16px!important;padding:10px;gap:10px}.bt .nm-3d .nm-3dx{top:12px!important;right:12px!important;left:auto!important}}
/* 3D: gold "See it in 3D" buttons, category list stays usable in 3D */
.nm-3dbtn{display:flex;align-items:center;gap:8px;height:40px;padding:0 16px 0 6px;margin:10px 10px 0 0;background:#E8B867;color:#07131F;border:0;border-radius:20px;box-shadow:0 2px 8px rgba(7,19,31,.35);font:700 13px/1 "Instrument Sans",system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;animation:nm3dpulse 2.4s ease-in-out 3}
.nm-3dbtn span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#0B1D30;color:#E8B867;font-size:12px;letter-spacing:0}
.nm-3dbtn:hover{background:#F0C77E;color:#07131F}
@keyframes nm3dpulse{0%,100%{box-shadow:0 2px 8px rgba(7,19,31,.35),0 0 0 0 rgba(232,184,103,.7)}50%{box-shadow:0 2px 8px rgba(7,19,31,.35),0 0 0 10px rgba(232,184,103,0)}}
.bt .nm-big3d{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:52px;margin:18px 0 4px;border:0;border-radius:4px;background:#E8B867;color:#07131F;font:700 14px/1 "Instrument Sans",system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.bt .nm-big3d span{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:#0B1D30;color:#E8B867;font-size:12px;letter-spacing:0}
.bt .nm-big3d:hover{background:#F0C77E}
.bt .nm-big3d.nm-sm3d{height:46px;margin:14px 0 0}
.bt .nm-body.in3d .nm-list{display:block!important;z-index:25}
@media(max-width:750px){.bt .nm-body.in3d .nm-list{display:block!important}}
/* big name label when the mouse is over a pin */
.nm-gpin:hover,.nm-gpin:focus{z-index:50}
.nm-gpin[data-name]:hover::after,.nm-gpin[data-name]:focus::after{content:attr(data-name);position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);background:#0B1D30;color:#fff;font:600 15px/1.25 "Instrument Sans",system-ui,sans-serif;padding:9px 13px;border-radius:8px;white-space:nowrap;box-shadow:0 6px 18px rgba(7,19,31,.35);pointer-events:none}
.nm-gpin[data-name]:hover::before,.nm-gpin[data-name]:focus::before{content:"";position:absolute;left:50%;bottom:calc(100% + 4px);transform:translateX(-50%);border:6px solid transparent;border-top-color:#0B1D30;pointer-events:none}
.bt .nm-3dtip{position:absolute;top:20px;left:50%;transform:translateX(-50%);z-index:4;max-width:70%;background:#0B1D30;color:#fff;font:600 18px/1.3 "Instrument Sans",system-ui,sans-serif;padding:12px 20px;border-radius:10px;box-shadow:0 8px 24px rgba(7,19,31,.4);text-align:center}
.bt .nm-3dtip[hidden]{display:none}
/* pin name label (JS tooltip) */
.bt .nm-tip{position:absolute;z-index:40;transform:translate(-50%,calc(-100% - 12px));background:#0B1D30;color:#fff;font:600 15px/1.25 "Instrument Sans",system-ui,sans-serif;padding:9px 13px;border-radius:8px;white-space:nowrap;box-shadow:0 6px 18px rgba(7,19,31,.35);pointer-events:none}
.bt .nm-tip::after{content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#0B1D30}
.bt .nm-tip[hidden]{display:none}
.nm-gpin[data-name]:hover::after,.nm-gpin[data-name]:hover::before,.nm-gpin[data-name]:focus::after,.nm-gpin[data-name]:focus::before{display:none!important}
.bt .nm-tip.below{transform:translate(-50%,12px)}
.bt .nm-tip.below::after{top:auto;bottom:100%;border-top-color:transparent;border-bottom-color:#0B1D30}
/* 3D HTML pins with hover label */
.nm-3dpin{position:relative;width:26px;height:26px;cursor:pointer}
.nm-3dpin .nm-pin{width:26px;height:26px}
.nm-3dpin .nm-3dlab{display:none;position:absolute;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%);background:#0B1D30;color:#fff;font:600 15px/1.25 "Instrument Sans",system-ui,sans-serif;padding:9px 13px;border-radius:8px;white-space:nowrap;box-shadow:0 6px 18px rgba(7,19,31,.35);pointer-events:none;z-index:5}
.nm-3dpin .nm-3dlab::after{content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#0B1D30}
.nm-3dpin:hover .nm-3dlab{display:block}
.nm-3dpin:hover .nm-pin{transform:scale(1.18)}
/* picked category: bigger pins with their names over them (pages with data-labels) */
.nm-plab{display:none}
.nmw[data-labels] .lab{z-index:30!important}
.nmw[data-labels] .lab .nm-pin{transform:scale(1.45);box-shadow:0 3px 10px rgba(7,19,31,.45)}
.nmw[data-labels] .lab .nm-plab{display:block;position:absolute;left:50%;bottom:calc(100% + 14px);transform:translateX(-50%);background:#0B1D30;color:#fff;font:600 12.5px/1.2 "Instrument Sans",system-ui,sans-serif;padding:5px 9px;border-radius:6px;white-space:nowrap;box-shadow:0 4px 12px rgba(7,19,31,.35);pointer-events:none}
.nmw[data-labels] .lab .nm-plab::after{content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);border:5px solid transparent;border-top-color:#0B1D30}
.nmw[data-labels] .lab:hover{z-index:60!important}
@media(max-width:750px){.nmw[data-labels] .lab .nm-plab{font-size:11.5px;padding:4px 7px}}
/* town page heroes 100px shorter (Nov 26) */
.bt .hero:not(.gd):not(.bxp){min-height:calc(min(86svh,820px) - 100px)}
@media(max-width:750px){.bt .hero:not(.gd):not(.bxp){min-height:520px}}
/* town page heroes: name, tagline and link bar moved up 100px (Nov 26) */
.bt .hero:not(.gd):not(.bxp){padding-bottom:96px}
@media(max-width:750px){.bt .hero:not(.gd):not(.bxp){padding-bottom:80px}}
/* market stats band: columns closer together on wide screens (Nov 26) */
@media(min-width:1001px){.bt .stats .row{max-width:1040px;margin:0 auto;gap:0}.bt .stats .st{padding-left:32px;padding-right:16px}.bt .stats .st:first-child{padding-left:0}}
/* market stats centred under the town link bar (Nov 26) */
@media(min-width:1001px){.bt .stats .row{max-width:980px;grid-template-columns:repeat(4,auto);justify-content:center}.bt .stats .st,.bt .stats .st:first-child{text-align:center;padding-left:30px;padding-right:30px}.bt .stats .st:first-child{border-left:0}}
