/* =========================================================
   Inner pages (place, landmark, event, what's on, about, 404)
   ========================================================= */
.nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after { right: 0; }
.page { padding: var(--s7) 0 var(--s10); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--stone); margin-bottom: var(--s6); }
.crumbs a { color: var(--body); text-underline-offset: 3px; }
.crumbs span[aria-hidden] { color: var(--fog); }

/* detail hero */
.d-hero { display: grid; grid-template-columns: 1.3fr .9fr; gap: var(--s8); align-items: start; }
.d-hero__t { font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
.d-hero__sub { font-size: 15px; color: var(--stone); margin-top: var(--s3); }
.d-hero .lead { margin-top: var(--s5); max-width: 44ch; }
.d-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s5); font-size: 15px; font-weight: 600; }
.d-hero__meta .venue__open { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 600; }
.chip--lime { background: var(--lime); }
.chip--ink { background: var(--ink); color: var(--paper); }

.leaflet { position: relative; height: 520px; padding: var(--s6) var(--s5); border-radius: var(--r-leaf); background: var(--paper); box-shadow: var(--shadow-leaf); overflow: hidden; transform: rotate(1.5deg); }
.leaflet::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(90deg, rgba(0,0,0,.08), transparent); }
.leaflet::after { content: ""; position: absolute; top: 0; bottom: 0; left: 34%; width: 1px; background: rgba(0,0,0,.035); }
.leaflet--lime { background: var(--lime); --dot-c: var(--paper); }
.leaflet--navy { background: var(--navy); color: var(--paper); --stroke-c: var(--paper); }
.leaflet__logo { width: 24px; height: 24px; margin-bottom: var(--s5); }
.leaflet--lime .leaflet__logo { --lime: var(--paper); }
.leaflet__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
.leaflet--lime .leaflet__label { color: #3F5A08; }
.leaflet__t { font-size: 30px; line-height: 1.05; letter-spacing: -.02em; margin-top: var(--s3); }
.leaflet__t span { display: block; color: var(--lime-deep); }
.leaflet--navy .leaflet__t span { color: var(--lime); }
.leaflet--lime .leaflet__t span { color: var(--paper); }
.leaflet__rule { display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--lime); margin-top: var(--s4); }
.leaflet--lime .leaflet__rule { background: var(--paper); }
.leaflet__pic { position: absolute; width: 300px; height: 300px; left: 14px; bottom: -50px; overflow: visible; }

/* blocks */
.block { margin-top: var(--s9); }
.block__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s5); }
.block__t { font-size: 30px; font-weight: 400; letter-spacing: -.015em; }
.block__note { font-size: 14px; color: var(--stone); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: start; }
.panel { background: var(--paper); border-radius: var(--r-leaf); padding: var(--s6); box-shadow: 0 1px 2px rgba(28,38,51,.06); }
.panel--flush { padding: 0; overflow: hidden; }
.panel--navy { background: var(--navy); color: var(--paper); padding-top: var(--s2); padding-bottom: var(--s2); }

/* hours */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--fog); font-size: 16px; }
.hours th { font-weight: 500; }
.hours td { text-align: right; color: var(--body); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--ink); }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 10px; vertical-align: middle; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

/* key facts list */
.facts { display: grid; margin: 0; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: var(--s4); padding: 12px 0; border-bottom: 1px solid var(--fog); font-size: 16px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--stone); font-size: 14px; padding-top: 2px; }
.facts dd { margin: 0; }
.facts a { text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* mini map */
.mini-map { display: block; width: 100%; height: auto; aspect-ratio: 520 / 360; }
.pin--quiet .pin__ring { fill: var(--paper); stroke: var(--stone); stroke-width: 4; }
.pin__label--sm { font-size: 17px; fill: var(--body); font-weight: 500; }
.map-cap { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--fog); font-size: 14px; color: var(--stone); }
.map-cap a { font-weight: 600; color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }

/* nearby list */
.near { list-style: none; padding: 0; margin: 0; }
.near li { border-bottom: 1px solid var(--fog); }
.near li:last-child { border-bottom: 0; }
.near a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: var(--s4); padding: 12px 0; text-decoration: none; }
.near a:hover .near__n { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.near svg { width: 40px; height: 40px; }
.near svg .ln { stroke-width: 9; }
.near__n { font-size: 17px; font-weight: 500; }
.near__s { display: block; font-size: 13px; color: var(--stone); font-weight: 400; }
.near__m { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* compact cards for related places */
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.mini-card { position: relative; display: block; min-height: 220px; padding: var(--s5); background: var(--paper); border-radius: var(--r-leaf); text-decoration: none; overflow: hidden; box-shadow: 0 1px 2px rgba(28,38,51,.06); transition: box-shadow .4s var(--ease); }
.mini-card:hover { box-shadow: var(--shadow-leaf); }
.mini-card:hover .mini-card__n { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mini-card--lime { background: var(--lime); --dot-c: var(--paper); }
.mini-card--lime:hover .mini-card__n { text-decoration-color: var(--ink); }
.mini-card--navy { background: var(--navy); color: var(--paper); --stroke-c: var(--paper); }
.mini-card__k { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
.mini-card--lime .mini-card__k { color: #3F5A08; }
.mini-card__n { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.01em; margin-top: 6px; }
.mini-card__s { display: block; font-size: 14px; color: var(--stone); margin-top: 4px; max-width: 70%; }
.mini-card--lime .mini-card__s { color: #3F5A08; }
.mini-card svg { position: absolute; right: -10px; bottom: -14px; width: 120px; height: 120px; overflow: visible; }

/* prev / next */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s9); }
.pager a { display: block; padding: var(--s5); border: 2px solid var(--ink); border-radius: var(--r-leaf); text-decoration: none; font-size: 20px; transition: background .25s, color .25s; }
.pager a:hover { background: var(--ink); color: var(--paper); }
.pager small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); margin-bottom: 4px; }
.pager a:last-child { text-align: right; }

/* event hero date block */
.datebox { display: inline-grid; place-items: center; align-content: center; gap: 4px; width: 104px; height: 112px; border-radius: var(--r-leaf); background: var(--ink); color: var(--paper); margin-bottom: var(--s5); }
.datebox b { font-size: 44px; font-weight: 400; line-height: 1; letter-spacing: -.02em; }
.datebox small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }

/* what's on page */
.wo-filters { display: grid; gap: var(--s4); margin: var(--s6) 0 var(--s5); }
.days { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; display: grid; justify-items: center; gap: 2px; min-width: 84px; padding: 12px 10px; border: 2px solid var(--ink); border-radius: var(--r-leaf); background: none; cursor: pointer; font: inherit; color: var(--ink); transition: background .25s, color .25s; }
.day b { font-size: 24px; font-weight: 400; line-height: 1; }
.day small { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.day i { font-style: normal; font-size: 12px; color: var(--stone); }
.day:hover { background: var(--paper); }
.day.is-on { background: var(--ink); color: var(--paper); }
.day.is-on i { color: var(--lime); }
.wo-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.search { position: relative; flex: 1 1 260px; max-width: 420px; }
.search input { width: 100%; height: 46px; padding: 0 18px 0 44px; border: 2px solid var(--ink); border-radius: 999px; font: 500 15px var(--font); background: var(--paper); color: var(--ink); }
.search input:focus { outline: 3px solid var(--lime); outline-offset: 2px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.count { font-size: 14px; color: var(--stone); margin-left: auto; }
.wo-board { background: var(--navy); color: var(--paper); border-radius: var(--r-leaf); padding: var(--s2) var(--s6) var(--s5); }
.wo-board .events { border-top: 0; }

/* forms */
.form { display: grid; gap: var(--s5); }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field small { font-size: 13px; color: var(--stone); }
.field input, .field textarea, .field select { font: 400 16px/1.5 var(--font); color: var(--ink); background: var(--paper); border: 2px solid var(--fog); border-radius: 8px; padding: 12px 14px; transition: border-color .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.form__ok { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s5); background: var(--mist); border-radius: 8px; }
.form__ok[hidden] { display: none; }
.form__ok .empty__dot { margin-top: 6px; }

/* about */
.how3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.how3 .panel svg { width: 64px; height: 64px; margin-bottom: var(--s4); }
.how3 h3 { font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.how3 p { font-size: 16px; color: var(--body); }
.src { columns: 2; column-gap: var(--s7); font-size: 15px; list-style: none; padding: 0; }
.src li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--fog); }
.src a { text-underline-offset: 3px; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
.src span { display: block; font-size: 13px; color: var(--stone); }

/* not found */
.nf { min-height: 60vh; display: grid; grid-template-columns: 1fr auto; gap: var(--s8); align-items: center; }
.nf > svg { width: 300px; height: 300px; }

@media (max-width: 1000px) {
  .d-hero, .split { grid-template-columns: 1fr; }
  .leaflet { height: 420px; max-width: 360px; transform: none; }
  .mini-cards, .how3 { grid-template-columns: 1fr 1fr; }
  .nf { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .mini-cards, .how3, .pager, .field--row { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .src { columns: 1; }
  .wo-board { padding-inline: var(--s4); }
  .nf > svg { width: 200px; height: 200px; }
  .pager a:last-child { text-align: left; }
  .count { margin-left: 0; width: 100%; }
}
.d-hero > .leaflet { width: 100%; max-width: 330px; justify-self: center; }
@media (max-width: 1000px) { .d-hero > .leaflet { justify-self: start; } }
