/* ============================================================
   Harlem.wiki — CITY THEME  « city signage »
   Loaded after style.css when config 'profile' => 'city'.
   Idea: the site reads like a well-signed city. Route bullets, enamel plates, ticket stubs,
   a transit-line timeline. Serious type and real data; the fun lives in colour and shape.
   Brand colours (--primary --secondary --accent …) are injected from inc/config.php.
   ============================================================ */
:root{
  --night:var(--secondary);--leaf:#1f7a56;--forest:#17603f;--terra:#d9622b;--plum:#6a3f9a;--teal:#13717a;--yam:var(--accent);--dusk:#ffe08a;
  --blue:#1c5fd1;--rule:#d3dae4;--paper:var(--cream);--plate:#fff;
  --f-ui:"Archivo","Arial Narrow",Arial,sans-serif;--f-read:"Literata",Georgia,"Times New Roman",serif;
  --r:8px;
}
body.profile-city{font:400 1rem/1.65 var(--f-ui);background:var(--paper);color:var(--ink)}
.profile-city h1,.profile-city h2,.profile-city h3,.profile-city h4{font-family:var(--f-ui);font-weight:800;letter-spacing:-.012em;line-height:1.12;color:var(--secondary);font-stretch:100%}
:where(.profile-city) a{color:var(--primary)}
.profile-city .muted{color:#5a667b}
.profile-city .prose,.profile-city .hub-intro{font-family:var(--f-read);font-size:1.08rem;line-height:1.78}
.profile-city .prose h2,.profile-city .prose h3,.profile-city .prose h4{font-family:var(--f-ui)}
.profile-city .prose p{max-width:68ch}
.profile-city .prose .block>p:first-of-type::first-letter{all:unset}
.profile-city .prose h2{font-size:clamp(1.5rem,2.6vw,2rem);padding-left:.8rem;border-left:6px solid var(--t,var(--primary));margin-top:2.2rem}
.profile-city :focus-visible{outline:3px solid var(--accent);outline-offset:2px;box-shadow:0 0 0 5px var(--secondary)}

/* ---------- header: white bar + segmented “line” stripe ---------- */
.profile-city .site-header{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:0;box-shadow:none}
.profile-city .site-header::after{content:"";display:block;height:6px;background:linear-gradient(90deg,var(--primary) 0 20%,var(--accent) 20% 40%,var(--leaf) 40% 60%,var(--blue) 60% 80%,var(--secondary) 80% 100%)}
.profile-city .bar{min-height:68px}
.profile-city .brand{color:var(--secondary)}
.profile-city .brand-text{font:900 1.35rem/1 var(--f-ui);font-stretch:112%;letter-spacing:-.01em}
.profile-city .brand-text em{color:var(--primary);font-weight:900}
.profile-city .main-nav>a,.profile-city .dd-btn{font:700 .92rem var(--f-ui);color:var(--secondary);border-radius:var(--r);position:relative}
.profile-city .main-nav>a:hover,.profile-city .dd-btn:hover{background:var(--sand);color:var(--secondary)}
.profile-city .main-nav [aria-current=page]{background:none;color:var(--secondary)}
.profile-city .main-nav>a[aria-current=page]::after{content:"";position:absolute;left:.75rem;right:.75rem;bottom:2px;height:4px;border-radius:2px;background:var(--accent)}
.profile-city .dd-menu{border-bottom:6px solid var(--accent)}
.profile-city .mega-head{font:800 .98rem var(--f-ui)}
.profile-city .mega-col li a{color:#33405a}
.profile-city .search-mini input,.profile-city .lang-switch{border:2px solid var(--secondary);border-radius:var(--r)}
.profile-city .search-mini input:focus{outline:3px solid var(--accent)}
.profile-city .lang-switch{overflow:hidden}
.profile-city .lang-switch a{font:800 .78rem var(--f-ui);color:var(--secondary)}
.profile-city .lang-switch a.on{background:var(--secondary);color:var(--accent)}
.profile-city .progress i{background:var(--accent)}

/* ---------- buttons ---------- */
.profile-city .btn{font:800 .95rem var(--f-ui);border-radius:var(--r);border:2px solid var(--secondary);background:#fff;color:var(--secondary);padding:.7rem 1.25rem;transition:transform .12s,box-shadow .12s,background .12s}
.profile-city .btn:hover{transform:translate(-2px,-2px);box-shadow:3px 3px 0 var(--secondary);background:#fff;color:var(--secondary)}
.profile-city .btn.primary{background:var(--accent);color:var(--secondary);border-color:var(--secondary)}
.profile-city .btn.primary:hover{background:var(--accent);color:var(--secondary);box-shadow:4px 4px 0 var(--secondary)}
.profile-city .btn.primary.dark{background:var(--secondary);color:#fff}
.profile-city .btn.primary.dark:hover{background:var(--secondary);color:var(--accent);box-shadow:4px 4px 0 var(--accent)}
.profile-city .btn.ghost{background:transparent;color:#fff;border-color:#fff}
.profile-city .btn.ghost:hover{background:transparent;color:var(--accent);border-color:var(--accent);box-shadow:3px 3px 0 var(--accent)}
.profile-city .btn.big{padding:.95rem 1.7rem;font-size:1.05rem}
.profile-city .prose .btn.primary{background:var(--accent);color:var(--secondary)}
.profile-city .prose .btn.primary.dark{background:var(--secondary);color:#fff}
.profile-city .c-act-ico,.profile-city .c-pill-ico{width:1.1em;height:1.1em;vertical-align:-.18em;margin-right:.4em;flex:none}

/* ---------- inner page hero: navy plate + window grid + stripe ---------- */
.profile-city .page-hero{background:var(--secondary);color:#fff;padding:2.6rem 0 2.4rem;border-bottom:0}
.profile-city .page-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:8px;background:linear-gradient(90deg,var(--primary) 0 20%,var(--accent) 20% 40%,var(--leaf) 40% 60%,var(--blue) 60% 80%,#fff 80% 100%)}
.profile-city .hero-pattern{background:url("../img/patterns/windows.svg") 0 0/84px;opacity:.22;-webkit-mask-image:linear-gradient(90deg,#000,transparent 85%);mask-image:linear-gradient(90deg,#000,transparent 85%)}
.profile-city .page-hero h1{font:900 clamp(2rem,5vw,3.6rem)/1.02 var(--f-ui);font-stretch:112%;color:#fff;max-width:20ch;margin-bottom:.35em}
.profile-city .page-hero .lead{font:400 clamp(1.02rem,1.8vw,1.18rem)/1.55 var(--f-read);color:#dfe6f2;max-width:62ch}
.profile-city .page-hero .meta{color:var(--accent)}
.profile-city .crumbs{font:600 .85rem var(--f-ui);color:#b8c3d8}
.profile-city .crumbs a{color:#fff;text-decoration-color:rgba(255,255,255,.35)}
.profile-city .kicker{display:inline-flex;align-items:center;gap:.55rem;font:800 .85rem var(--f-ui);letter-spacing:0;text-transform:none;color:var(--secondary);background:var(--accent);padding:.28rem .7rem .28rem .5rem;border-radius:6px;margin:0 0 1.1rem}
.profile-city .kicker-ico{width:1.1rem;height:1.1rem}
.profile-city .hub-hero{min-height:300px}
.profile-city .hub-hero .hero-shade{background:linear-gradient(90deg,rgba(15,27,51,.94) 0%,rgba(15,27,51,.72) 52%,rgba(15,27,51,.15) 100%)}
.profile-city .sub-hero-badge{border:3px solid var(--accent);box-shadow:0 0 0 8px rgba(255,199,44,.18);background:rgba(255,255,255,.06);color:#fff;--ico-accent:var(--accent)}
.profile-city .sub-hero .strip{display:none}
.profile-city .hero-cta{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.2rem 0 0}

/* ---------- hub + article ---------- */
.profile-city .hub-title{font-size:1.35rem;color:var(--secondary)}
.profile-city .acard{border-radius:10px;border:2px solid var(--secondary);border-bottom-width:6px;border-bottom-color:var(--t,var(--primary));box-shadow:none;background:#fff}
.profile-city .acard:hover{transform:translate(-2px,-2px);box-shadow:4px 4px 0 var(--secondary);border-color:var(--secondary);border-bottom-color:var(--t,var(--primary))}
.profile-city .acard-img{aspect-ratio:2/1;background:var(--secondary)}
.profile-city .acard-img::after{display:none}
.profile-city .acard-num{display:none}
.profile-city .acard-badge{border:3px solid #fff;background:var(--t,var(--primary));left:.9rem;bottom:-1.2rem;width:48px;height:48px;z-index:3}
.profile-city .acard-body{padding-top:1.7rem}
.profile-city .acard h3{font-size:1.15rem}
.profile-city .acard p{font:400 .94rem/1.5 var(--f-ui);color:#41506b}
.profile-city .acard-more{font:800 .86rem var(--f-ui);color:var(--t,var(--primary))}
.profile-city .toc a{border-radius:var(--r);border:2px solid transparent;background:#fff;color:#33405a;font-weight:600}
.profile-city .toc a:hover{border-color:var(--secondary);color:var(--secondary)}
.profile-city .toc a.active,.profile-city .toc a[aria-current=page]{background:var(--secondary);color:#fff}
.profile-city .toc h2{font:800 .85rem var(--f-ui);letter-spacing:0;text-transform:none;color:#5a667b}
.profile-city .next-card,.profile-city .next-card.chapter{background:var(--secondary);border-radius:10px;border:2px solid var(--secondary)}
.profile-city .next-card::before{display:none}
.profile-city .next-card:hover{box-shadow:5px 5px 0 var(--accent);transform:translate(-2px,-2px)}
.profile-city .next-card small{color:var(--accent);letter-spacing:0;text-transform:none;font-weight:700}
.profile-city .next-card strong{font:800 1.3rem var(--f-ui)}
.profile-city .pager a{border:2px solid var(--secondary);border-radius:10px}
.profile-city .pager a:hover{box-shadow:4px 4px 0 var(--secondary);transform:translate(-2px,-2px);border-color:var(--secondary)}
.profile-city .pager span{font:800 1.02rem var(--f-ui)}
.profile-city .factbox{border-radius:10px;background:#fff8dc;border:2px solid var(--secondary);border-left-width:10px;border-left-color:var(--accent)}
.profile-city .factbox strong{letter-spacing:0;text-transform:none;font-size:.95rem;color:var(--secondary)}
.profile-city .refs-box{padding-top:.5rem}
.profile-city table{border-collapse:collapse;font-family:var(--f-ui);font-size:.95rem}
.profile-city .prose table th{background:var(--secondary);color:#fff;text-align:left}
.profile-city .debate,.profile-city .callout{border-radius:10px;border:2px solid var(--secondary)}
.profile-city .sponsor-bar{background:#fff;border-bottom:2px solid var(--secondary)}

/* ---------- footer ---------- */
.profile-city .site-footer{background:var(--secondary);color:#cdd6e6}
.profile-city .site-footer .strip{height:8px;background:linear-gradient(90deg,var(--primary) 0 20%,var(--accent) 20% 40%,var(--leaf) 40% 60%,var(--blue) 60% 80%,#fff 80% 100%)}
.profile-city .site-footer h3{font:800 .95rem var(--f-ui);letter-spacing:0;text-transform:none;color:var(--accent)}
.profile-city .site-footer a{color:#e8edf7}
.profile-city .site-footer a:hover{color:var(--accent)}
.profile-city .to-top{background:var(--secondary);color:var(--accent);border:2px solid var(--accent);border-radius:var(--r)}

/* ============================================================
   CITY COMPONENTS  (c-*)
   ============================================================ */
.c-wrap{padding:2.2rem 0 4rem}
.c-sec-head{margin:0 0 1.4rem;max-width:62ch}
.c-sec-head.row{max-width:none;display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.c-sec-head h2{font:900 clamp(1.7rem,3.4vw,2.5rem)/1.05 var(--f-ui);font-stretch:108%;margin:0 0 .3em}
.c-sec-head p{margin:0;font:400 1.08rem/1.55 var(--f-read);color:#41506b}
.c-badges{display:flex;gap:.4rem;flex-wrap:wrap;margin:0 0 1rem}
.c-badge{display:inline-block;font:800 .72rem/1 var(--f-ui);padding:.28rem .5rem;border-radius:5px;background:#e6ebf3;color:var(--secondary);vertical-align:.1em}
.c-badge-spon{background:var(--accent);color:var(--secondary)}
.c-badge-free{background:#d8f0e3;color:#0d5236}
.c-badge-demo{background:#fff;border:1.5px dashed #7a869c;color:#5a667b}
.c-chip{display:inline-block;font:700 .8rem/1 var(--f-ui);padding:.34rem .6rem;border-radius:5px;background:var(--sand);color:var(--secondary)}
.c-pill{display:inline-flex;align-items:center;font:700 .82rem var(--f-ui);color:#33405a}
.c-pill-nb{margin-left:.3rem}
.c-more{margin:1.6rem 0 0;display:flex;gap:.6rem;flex-wrap:wrap}
.c-empty{padding:1.6rem;border:2px dashed #9aa6bb;border-radius:10px;background:#fff;text-align:left}
.c-empty h2{font-size:1.3rem}
.c-cta{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;flex-wrap:wrap;margin:2.4rem 0 0;padding:1.4rem 1.6rem;border:2px solid var(--secondary);border-radius:10px;background:#fff;box-shadow:6px 6px 0 var(--accent)}
.c-cta h2{font-size:1.35rem;margin:0 0 .2em}.c-cta p{margin:0;max-width:60ch}

/* filters */
.c-filters{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin:0 0 1.4rem;padding:.9rem;background:#fff;border:2px solid var(--secondary);border-radius:10px}
.c-f{display:block;flex:1 1 180px;min-width:0}
.c-f-q{flex:2 1 260px}
.c-f input,.c-f select{width:100%;padding:.62rem .75rem;border:2px solid var(--secondary);border-radius:var(--r);font:600 .95rem var(--f-ui);background:#fff;color:var(--secondary)}
.c-f input:focus,.c-f select:focus{outline:3px solid var(--accent);outline-offset:1px}
.c-count{flex:1 1 100%;margin:0;font:700 .85rem var(--f-ui);color:#5a667b}
.c-count:empty{display:none}
.js .c-f-go{display:none}
.c-tabs{display:flex;flex-wrap:wrap;gap:.45rem;flex:1 1 100%}
.c-tab{display:inline-flex;align-items:center;gap:.45rem;font:800 .9rem var(--f-ui);padding:.5rem .85rem;border:2px solid var(--secondary);border-radius:999px;background:#fff;color:var(--secondary);cursor:pointer;text-decoration:none}
.c-tab:hover{background:var(--sand);color:var(--secondary)}
.c-tab.on{background:var(--secondary);color:var(--accent)}
.c-tab-ico{width:1.1em;height:1.1em}
.c-tabs-static{margin:0 0 1.2rem}
.c-nores{margin:1rem 0;padding:1rem 1.2rem;border:2px dashed #9aa6bb;border-radius:10px;background:#fff;font-weight:700}
.c-month{font:900 1.5rem var(--f-ui);margin:2rem 0 .8rem;padding-bottom:.35rem;border-bottom:4px solid var(--secondary)}
.c-month:first-child{margin-top:0}

/* lists */
.c-list{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr))}
.c-list-biz{grid-template-columns:repeat(auto-fill,minmax(min(100%,380px),1fr))}
.c-list-3{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.c-list-4{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
[hidden]{display:none!important}

/* event = ticket stub */
.c-event{display:flex;background:#fff;border:2px solid var(--secondary);border-radius:10px;overflow:hidden;min-width:0}
.c-date{flex:none;width:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:.7rem .3rem;background:var(--ev,var(--primary));color:#fff;text-decoration:none;position:relative;border-right:2px dashed rgba(255,255,255,.7)}
.c-date span{display:block;line-height:1}
.c-date-m{font:800 .8rem var(--f-ui)}
.c-date-d{font:900 2.35rem/1 var(--f-ui);font-stretch:112%;margin:.1rem 0}
.c-date-w{font:700 .75rem var(--f-ui);opacity:.9}
.c-event:hover .c-date{filter:brightness(1.08)}
.c-event-body{padding:.75rem .9rem;min-width:0}
.c-event-meta{margin:0 0 .3rem;display:flex;gap:.3rem;flex-wrap:wrap;align-items:center}
.c-event h3{font-size:1.08rem;margin:0 0 .25rem}
.c-event h3 a,.c-biz h3 a,.c-poi h3 a{color:var(--secondary);text-decoration:none}
.c-event h3 a:hover,.c-biz h3 a:hover,.c-poi h3 a:hover{text-decoration:underline;text-decoration-thickness:3px;text-decoration-color:var(--accent)}
.c-event-when{margin:0;font:600 .9rem var(--f-ui);color:#41506b}
.c-cat-music{--ev:var(--primary)}.c-cat-food{--ev:var(--terra)}.c-cat-community{--ev:var(--leaf)}.c-cat-market{--ev:#c59000}.c-cat-market .c-date{color:var(--secondary);border-right-color:rgba(15,27,51,.5)}
.c-cat-arts{--ev:var(--plum)}.c-cat-sport{--ev:var(--blue)}.c-cat-history{--ev:var(--secondary)}.c-cat-family{--ev:var(--teal)}.c-cat-other{--ev:#56627a}

/* business = plate */
.c-biz{display:flex;gap:.9rem;padding:.9rem;background:#fff;border:2px solid var(--secondary);border-radius:10px;min-width:0;position:relative}
.c-biz.is-premium{background:#fffbea;border-top-width:6px;border-top-color:var(--accent)}
.c-biz-logo{flex:none;width:64px;height:64px;border-radius:var(--r);overflow:hidden;background:var(--secondary);display:grid;place-items:center;text-decoration:none}
.c-biz-logo img{width:100%;height:100%;object-fit:cover}
.c-mono{font:900 1.9rem var(--f-ui);font-stretch:112%;color:var(--accent)}
.c-biz-body{min-width:0;flex:1}
.c-biz-meta{margin:0 0 .25rem;font:700 .8rem var(--f-ui);color:#5a667b;display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.c-biz h3,.c-poi h3{font-size:1.12rem;margin:0 0 .2rem}
.c-biz-place{margin:0 0 .3rem;font:600 .85rem var(--f-ui);color:#41506b}
.c-biz-desc{margin:0 0 .5rem;font:400 .94rem/1.5 var(--f-ui);color:#33405a}
.c-biz-acts{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:.4rem}
.c-act{padding:.4rem .75rem;font-size:.85rem}

/* place = plaque */
.c-poi{display:flex;gap:.9rem;padding:.9rem;background:#fff;border:2px solid var(--secondary);border-left-width:8px;border-radius:10px;min-width:0}
.c-poi-ico{flex:none;width:52px;height:52px;border-radius:50%;background:var(--accent);color:var(--secondary);display:grid;place-items:center}
.c-poi-svg{width:28px;height:28px;margin:0}
.c-poi-body{min-width:0}

/* sponsor lock-out */
.c-sponsor{margin-top:1.6rem!important;display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.4rem;margin:0 0 1.6rem;padding:1.1rem 1.3rem 1.1rem;border:2px solid var(--secondary);border-radius:10px;background:#fff;position:relative}
.c-spon-tag{position:absolute;top:-.8rem;left:1rem;font:800 .74rem/1 var(--f-ui);padding:.32rem .55rem;border-radius:5px;background:var(--accent);color:var(--secondary)}
.c-spon-main{display:flex;align-items:center;gap:1rem;flex:1 1 320px}
.c-spon-logo img{height:54px;width:auto;max-width:150px;object-fit:contain}
.c-spon-mono{display:grid;place-items:center;width:54px;height:54px;border-radius:var(--r);background:var(--secondary);color:var(--accent);font:900 1.6rem var(--f-ui)}
.c-spon-main strong{font:800 1.15rem var(--f-ui)}
.c-spon-main p{margin:.15rem 0 0;font:400 .95rem var(--f-read);color:#33405a}
.c-spon-acts{display:flex;gap:.5rem;flex-wrap:wrap}
.c-sponsor-free{border-style:dashed;background:transparent}
.c-sponsor-free .c-spon-tag{background:#e6ebf3}
.c-sponsor-free>div{flex:1 1 320px}
.c-sponsor-free p{margin:.2rem 0 0;font:400 .95rem var(--f-read)}

/* neighbourhood page extras / quote box */
.c-here{margin:3rem 0 1.5rem;padding-top:1.6rem;border-top:4px solid var(--secondary)}
.c-here h3{font-size:1.1rem;margin:1.4rem 0 .6rem}
.c-quotebox{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin:2rem 0;padding:1.1rem 1.3rem;border:2px solid var(--secondary);border-left-width:10px;border-left-color:var(--accent);border-radius:10px;background:#fff8dc;font-family:var(--f-ui)}
.c-quotebox strong{font:800 1.15rem var(--f-ui)}.c-quotebox p{margin:.2rem 0 0;font:400 .95rem var(--f-ui)}

/* detail pages */
.c-detail{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:2.6rem;padding:2.4rem 0 4rem;align-items:start}
.c-detail-side{position:sticky;top:90px;padding:1.2rem;background:#fff;border:2px solid var(--secondary);border-top:10px solid var(--secondary);border-radius:10px;font-family:var(--f-ui)}
.c-detail-side h2{font-size:1.1rem;margin:0 0 .7rem}
.c-big{font:900 1.35rem/1.2 var(--f-ui)}
.c-side-acts{display:grid;gap:.5rem;margin:1rem 0}
.c-side-acts .btn{text-align:left}
.c-dates{padding-left:1.1rem;font-family:var(--f-ui)}
.c-photo{width:100%;max-height:340px;object-fit:cover;border-radius:10px;border:2px solid var(--secondary);margin-bottom:1rem}
.c-minimap{height:230px;border:2px solid var(--secondary);border-radius:10px;overflow:hidden;margin-top:.8rem;background:#dfe7ec}
.c-minimap-wide{height:320px;margin-top:1.2rem}

/* forms */
.c-form-wrap{padding:2.2rem 0 4rem;max-width:860px;margin-inline:auto}
.profile-city .join-form input,.profile-city .join-form select,.profile-city .join-form textarea{border:2px solid var(--secondary);border-radius:var(--r);font:500 1rem var(--f-ui)}
.profile-city .join-form input:focus,.profile-city .join-form select:focus,.profile-city .join-form textarea:focus{outline:3px solid var(--accent);border-color:var(--secondary)}
.profile-city .join-form label{font:700 .92rem var(--f-ui);color:var(--secondary)}
.profile-city .join-form .check{font-weight:500}
.profile-city .notice{border-radius:10px;border:2px solid var(--secondary);border-left-width:10px;background:#fff}
.profile-city .notice.ok{border-left-color:var(--leaf)}
.profile-city .notice.warn{border-left-color:var(--terra)}

/* map page */
.c-mapwrap{padding:1.6rem 0 3rem}
.c-maptools{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-bottom:.8rem}
.c-maptools fieldset{display:flex;gap:.4rem;flex-wrap:wrap;border:0;padding:0;margin:0}
.c-layer input{position:absolute;opacity:0}
.c-layer span{display:inline-flex;align-items:center;gap:.35rem;font:800 .9rem var(--f-ui);padding:.45rem .8rem;border:2px solid var(--secondary);border-radius:999px;background:#fff;cursor:pointer;color:var(--secondary)}
.c-layer input:checked+span{background:var(--secondary);color:var(--accent)}
.c-layer input:focus-visible+span{outline:3px solid var(--accent);outline-offset:2px}
.c-maptools .c-f{flex:0 1 240px}
.c-maptools .c-count{flex:0 0 auto}
.c-map{height:min(72vh,680px);min-height:420px;border:2px solid var(--secondary);border-radius:10px;overflow:hidden;background:#dfe7ec;box-shadow:6px 6px 0 var(--accent)}
.c-nojs{padding:1rem}
.c-pin{display:grid;place-items:center;width:30px;height:30px;border-radius:50% 50% 50% 4px;transform:rotate(-45deg);border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.45);color:#fff}
.c-pin i{display:block;transform:rotate(45deg);font:900 12px/1 var(--f-ui);font-style:normal}
.c-pin-poi{background:var(--secondary)}.c-pin-poi i{color:var(--accent)}
.c-pin-business{background:var(--primary)}
.c-pin-premium{background:var(--accent);color:var(--secondary)}.c-pin-premium i{color:var(--secondary)}
.c-pin-event{background:var(--leaf)}
.c-pop{font-family:var(--f-ui)}
.c-pop strong{display:block;font:800 1rem var(--f-ui);margin-bottom:.15rem}
.c-pop span{display:block;font-size:.85rem;color:#41506b}
.c-pop a{font-weight:800}
.leaflet-container{font-family:var(--f-ui)}

/* ---------- HOME ---------- */
.c-home-hero{position:relative;padding:3.2rem 0 4.2rem;background:var(--paper);overflow:hidden}
.c-home-hero::before{content:"";position:absolute;inset:0;background:url("../img/patterns/windows.svg") 0 0/84px;opacity:.10;pointer-events:none}
.c-home-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:3rem;align-items:center}
.c-sign{display:flex;align-items:center;gap:.6rem;margin:0 0 1.1rem;font:800 .95rem var(--f-ui);color:var(--secondary)}
.c-sign-bullet{width:1.5rem;height:1.5rem;border-radius:50%;background:var(--accent);box-shadow:inset 0 0 0 4px var(--secondary);flex:none}
.c-home-copy h1{display:inline-block;margin:0 0 1.2rem;padding:1.1rem 1.6rem 1.15rem;background:var(--secondary);color:#fff;border-radius:12px;position:relative;box-shadow:7px 7px 0 var(--accent);max-width:100%}
.c-home-copy h1::before{content:"";position:absolute;inset:7px;border:3px solid #fff;border-radius:7px;pointer-events:none}
.c-h1-name{display:block;font:900 clamp(2.8rem,8.4vw,6.6rem)/.95 var(--f-ui);font-stretch:125%;letter-spacing:-.025em;color:#fff;overflow-wrap:anywhere}
.c-h1-sub{display:block;margin-top:.5rem;font:800 clamp(.95rem,1.8vw,1.25rem)/1.2 var(--f-ui);font-stretch:100%;letter-spacing:0;color:var(--accent)}
.c-lead{font:400 clamp(1.08rem,1.9vw,1.3rem)/1.55 var(--f-read);max-width:54ch;color:#26334d;margin:0 0 1.4rem}
.c-search{display:flex;gap:.5rem;max-width:620px;margin:0 0 1rem}
.c-search input{flex:1;min-width:0;padding:.95rem 1rem;border:3px solid var(--secondary);border-radius:var(--r);font:600 1.05rem var(--f-ui);background:#fff;color:var(--secondary)}
.c-search input:focus{outline:3px solid var(--accent);outline-offset:2px}
.c-chips{display:flex;flex-wrap:wrap;gap:.4rem;margin:0}
.c-chip-link{text-decoration:none;border:2px solid var(--secondary);background:#fff;padding:.38rem .65rem}
.c-chip-link:hover{background:var(--accent);color:var(--secondary)}
.c-home-art{position:relative}
.c-home-art>img{display:block;width:100%;height:auto;aspect-ratio:5/4;object-fit:cover;object-position:center bottom;border:3px solid var(--secondary);border-radius:12px;box-shadow:10px 10px 0 var(--accent);background:var(--secondary)}
.c-ticket{position:absolute;left:-1.2rem;bottom:1.4rem;display:flex;flex-direction:column;gap:.15rem;max-width:min(78%,300px);padding:.8rem 1rem .8rem 1.2rem;background:#fff;color:var(--secondary);text-decoration:none;border:2px solid var(--secondary);border-radius:8px;box-shadow:4px 4px 0 var(--secondary);-webkit-mask:radial-gradient(circle 8px at 0 50%,#0000 98%,#000) ;mask:none}
.c-ticket::before{content:"";position:absolute;left:-2px;top:50%;width:14px;height:28px;margin-top:-14px;background:var(--paper);border:2px solid var(--secondary);border-left:0;border-radius:0 14px 14px 0}
.c-ticket-tag{font:800 .72rem var(--f-ui);color:var(--primary)}
.c-ticket strong{font:800 1.02rem/1.2 var(--f-ui)}
.c-ticket span:last-child{font:600 .85rem var(--f-ui);color:#41506b}
.c-ticket:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--accent)}

.c-facts{background:var(--secondary);color:#fff}
.c-facts dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));margin:0}
.c-facts dl>div{padding:1.1rem 1.2rem;border-left:1px solid rgba(255,255,255,.18)}
.c-facts dl>div:first-child{border-left:0}
.c-facts dt{font:900 clamp(1.7rem,3.4vw,2.5rem)/1 var(--f-ui);font-stretch:112%;color:var(--accent)}
.c-facts dd{margin:.25rem 0 0;font:500 .9rem/1.35 var(--f-ui);color:#d6deec}

.c-lines,.c-agenda-band,.c-nb-band,.c-dir-band,.c-dyk,.c-intro{padding:3.6rem 0}
.c-agenda-band,.c-dyk{background:#fff;border-block:2px solid var(--secondary)}
.c-line-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:1rem}
.c-line{display:flex;align-items:center;gap:1rem;padding:1rem 1.1rem;background:#fff;border:2px solid var(--secondary);border-radius:12px;text-decoration:none;color:var(--secondary);min-width:0;transition:transform .12s,box-shadow .12s}
.c-line:hover{transform:translate(-3px,-3px);box-shadow:5px 5px 0 var(--secondary);color:var(--secondary)}
.c-bullet{flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--t,var(--primary));color:#fff;border:3px solid #fff;box-shadow:0 0 0 2px var(--secondary);--ico-accent:#fff}
.c-line.tone-gold .c-bullet{color:var(--secondary);--ico-accent:var(--secondary)}
.c-line-ico{width:30px;height:30px;margin:0}
.c-line-t{display:flex;flex-direction:column;min-width:0}
.c-line-t strong{font:800 1.12rem/1.15 var(--f-ui)}
.c-line-t span{font:400 .88rem/1.4 var(--f-ui);color:#41506b;margin-top:.15rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tone-gold{--t:#c59000}.tone-leaf{--t:var(--leaf)}.tone-teal{--t:var(--teal)}.tone-terra{--t:var(--terra)}.tone-forest{--t:var(--forest)}.tone-plum{--t:var(--plum)}.tone-indigo{--t:var(--secondary)}.tone-laterite{--t:var(--primary)}

.c-nb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:.9rem}
.c-nb{display:flex;flex-direction:column;justify-content:flex-end;gap:.15rem;min-height:132px;padding:1rem 1.1rem;border-radius:12px;color:#fff;text-decoration:none;background:var(--nb,var(--primary));border:2px solid var(--secondary);transition:transform .12s,box-shadow .12s}
.c-nb:hover{transform:translate(-3px,-3px);box-shadow:5px 5px 0 var(--secondary);color:#fff}
.c-nb strong{font:900 1.5rem/1.05 var(--f-ui);font-stretch:108%}
.c-nb span{font:600 .9rem var(--f-ui);opacity:.92}
.c-nb em{font:800 .8rem var(--f-ui);font-style:normal;margin-top:.3rem;opacity:.9}
.c-nb-0{--nb:var(--primary)}.c-nb-1{--nb:var(--secondary)}.c-nb-2{--nb:var(--leaf)}.c-nb-3{--nb:var(--blue)}.c-nb-4{--nb:#c59000;color:var(--secondary)}.c-nb-4:hover{color:var(--secondary)}.c-nb-5{--nb:var(--plum)}

.c-map-band{background:var(--secondary);color:#fff;padding:3.4rem 0}
.c-map-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2.4rem;align-items:center}
.c-map-band h2{color:#fff;font:900 clamp(1.8rem,3.6vw,2.7rem)/1.05 var(--f-ui);font-stretch:108%}
.c-map-band p{font:400 1.1rem/1.55 var(--f-read);color:#d6deec;max-width:46ch}
.c-map-art svg{display:block;width:100%;height:auto;border:3px solid #fff;border-radius:18px;box-shadow:8px 8px 0 var(--accent)}

.c-dyk-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem}
.c-dyk-card{display:block;padding:1.2rem;border:2px solid var(--secondary);border-radius:12px;background:var(--paper);text-decoration:none;color:var(--secondary);transition:transform .12s,box-shadow .12s}
.c-dyk-card:hover{transform:translate(-3px,-3px);box-shadow:5px 5px 0 var(--accent);color:var(--secondary)}
.c-dyk-ico{width:3rem;height:3rem;padding:.65rem;border-radius:50%;background:var(--accent);color:var(--secondary);margin-bottom:.6rem}
.c-dyk-card h3{font-size:1.15rem}.c-dyk-card p{font:400 .95rem/1.5 var(--f-ui);color:#33405a;margin:0 0 .6rem}
.c-more-link{font:800 .88rem var(--f-ui);color:var(--primary)}

.c-intro-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:3rem;align-items:start}
.c-tl-h{font-size:1.3rem;margin:0 0 .3rem}
.c-timeline{list-style:none;margin:1.2rem 0 0;padding:0 0 0 2.2rem;position:relative}
.c-timeline::before{content:"";position:absolute;left:.6rem;top:.6rem;bottom:.6rem;width:8px;border-radius:4px;background:var(--primary)}
.c-timeline li{position:relative;padding:0 0 1.3rem}
.c-timeline li::before{content:"";position:absolute;left:-2.05rem;top:.25rem;width:20px;height:20px;border-radius:50%;background:#fff;border:5px solid var(--secondary);box-sizing:border-box}
.c-timeline time{display:inline-block;font:900 1.05rem var(--f-ui);color:var(--primary)}
.c-timeline h4{font-size:1.05rem;margin:.1rem 0 .15rem}.c-timeline h4 a{color:var(--secondary)}
.c-timeline p{margin:0;font:400 .94rem/1.5 var(--f-ui);color:#33405a}

.c-quote-band{background:var(--accent);color:var(--secondary);padding:3.4rem 0;border-top:4px solid var(--secondary)}
.c-quote-band h2{font:900 clamp(1.8rem,3.8vw,2.8rem)/1.05 var(--f-ui);font-stretch:108%;color:var(--secondary)}
.c-quote-band p{font:500 1.1rem/1.5 var(--f-read);max-width:52ch}
.c-quote-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.2rem}
.c-chip-quote{font:800 .95rem var(--f-ui);padding:.6rem .9rem;border-radius:var(--r);background:var(--secondary);color:#fff;text-decoration:none;border:2px solid var(--secondary)}
.c-chip-quote:hover{background:#fff;color:var(--secondary);box-shadow:3px 3px 0 var(--secondary);transform:translate(-2px,-2px)}
.c-chip-all{background:transparent;color:var(--secondary)}

/* newsletter / media bands from the engine */
.profile-city .nl-band,.profile-city .media-band{border-radius:0}

/* ---------- responsive ---------- */
@media (max-width:1020px){
  .c-detail{grid-template-columns:minmax(0,1fr)}
  .c-detail-side{position:static}
  .c-intro-grid,.c-map-in{grid-template-columns:minmax(0,1fr);gap:1.8rem}
}
@media (max-width:860px){
  .c-home-grid{grid-template-columns:minmax(0,1fr);gap:2.4rem}
  .c-ticket{left:.6rem}
  .profile-city .main-nav{background:#fff}
  .profile-city .main-nav>a[aria-current=page]::after{left:.5rem;right:auto;width:36px}
}
@media (max-width:560px){
  .c-home-hero{padding:2rem 0 3rem}
  .c-search{flex-direction:column}
  .c-event{flex-direction:row}
  .c-date{width:66px}
  .c-biz{flex-direction:column}
  .c-home-copy h1{padding:.9rem 1.1rem}
  .c-home-copy h1::before{inset:5px;border-width:2px}
  .c-facts dl>div{border-left:0;border-top:1px solid rgba(255,255,255,.18)}
  .c-facts dl>div:first-child{border-top:0}
}
@media (prefers-reduced-motion:reduce){
  .profile-city *{transition:none!important;scroll-behavior:auto!important}
  .profile-city .btn:hover,.c-line:hover,.c-nb:hover,.c-dyk-card:hover,.c-ticket:hover,.profile-city .acard:hover{transform:none}
}
