:root {
  --ink: #172b38;
  --ink-soft: #40515b;
  --cream: #f6f0e4;
  --paper: #fffdf8;
  --red: #b82635;
  --red-dark: #8d1726;
  --gold: #d99920;
  --wine: #7d3048;
  --copper: #b75e32;
  --line: #d9d1c3;
  --water: #dcebef;
  --shadow: 0 18px 50px rgba(23,43,56,.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-160%); background: var(--ink); color: white; padding: .75rem 1rem; border-radius: .25rem; }
.skip-link:focus { transform: none; }

.site-header { height: 88px; padding: 0 clamp(1.25rem, 5vw, 5rem); display: flex; align-items: center; justify-content: space-between; background: var(--cream); border-bottom: 1px solid rgba(23,43,56,.12); }
.brand { display: flex; align-items: center; gap: .7rem; line-height: .9; }
.brand-mark { width: 48px; height: 48px; display:block; flex:0 0 auto; }
.brand-mark img { width:100%; height:100%; display:block; object-fit:contain; }
.brand strong, .brand em { display: block; }
.brand strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; }
.brand em { margin-top: .35rem; color: var(--red); font-size: .72rem; font-style: normal; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.header-nav { display:flex; align-items:center; gap:1.2rem; }
.header-link { text-underline-offset: .3rem; font-weight: 700; font-size: .9rem; }
.hero-ctas { display:flex; align-items:center; flex-wrap:wrap; gap:1.2rem; }
.passport-cta { color:var(--red); font-weight:850; text-underline-offset:.3rem; }

.hero { min-height: 585px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); align-items: stretch; background: var(--cream); }
.hero-copy { z-index: 1; padding: clamp(5rem, 8vw, 8.5rem) 4vw clamp(4rem, 7vw, 7rem) max(1.5rem, calc((100vw - 1440px)/2 + 5rem)); }
.eyebrow { margin: 0 0 1rem; color: var(--red); font-size: .76rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.045em; }
h1 { margin: 0; font-size: clamp(3.35rem, 6vw, 6.8rem); line-height: .92; }
h1 span { color: var(--red); font-style: italic; }
.hero-intro { max-width: 610px; margin: 1.7rem 0 2.2rem; color: var(--ink-soft); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.65; }
.primary-cta, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; border: 0; border-radius: 3px; background: var(--red); color: white; padding: .95rem 1.2rem; font-weight: 800; text-decoration: none; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .15s; }
.primary-cta:hover, .primary-button:hover { background: var(--red-dark); transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.hero-art { position: relative; min-height: 500px; display:grid; place-items:center; background:#231f20; overflow:hidden; }
.hero-art img { width:min(88%,720px); height:auto; max-height:88%; display:block; object-fit:contain; object-position:center; }
.sun { position: absolute; width: 215px; aspect-ratio: 1; top: 65px; right: 12%; border-radius: 50%; background: #f3c869; }
.land-back { fill: #87a977; }
.land-front { fill: #547659; }
.road { fill: none; stroke: #e7d1a7; stroke-width: 17; stroke-linecap: round; }
.glass path, .bottle path, .hop path { fill: none; stroke: var(--ink); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.glass .drink { fill: var(--wine); stroke-width: 5; }
.bottle path:first-child { fill: #c1783b; }
.hop path { stroke: #254c35; }

.passport-intro { padding:clamp(4rem,7vw,7rem) clamp(1.5rem,7vw,7rem); display:grid; grid-template-columns:minmax(0,.8fr) minmax(520px,1.2fr); gap:clamp(3rem,7vw,7rem); align-items:center; background:#e9f0ed; }
.passport-intro-copy > p:not(.eyebrow) { max-width:620px; margin:1.35rem 0 1.8rem; color:var(--ink-soft); line-height:1.65; }
.passport-icon-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.8rem; }
.passport-icon-grid article { min-height:210px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:1.2rem; border:1px solid rgba(23,43,56,.14); background:rgba(255,253,248,.78); text-align:center; }
.passport-icon-grid img { width:88px; height:88px; margin-bottom:.7rem; object-fit:contain; }
.passport-icon-grid strong { font-family:Georgia,serif; font-size:1.2rem; }
.passport-icon-grid span { margin-top:.35rem; color:var(--ink-soft); font-size:.75rem; }

.crawls { padding:clamp(4rem,7vw,7rem) clamp(1.5rem,5vw,5rem); background:var(--ink); color:white; }
.crawls-mobile-summary { display:none; }
.crawls:not([open]) > .crawls-content { display:block; }
.section-heading { max-width:1440px; margin:0 auto 2.4rem; display:flex; align-items:end; justify-content:space-between; gap:2rem; }
.section-heading .eyebrow { color:#f1bc57; }
.section-heading > p { max-width:470px; margin:0; color:#cbd4d9; line-height:1.65; }
.crawl-grid { max-width:1440px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.18); }
.crawl-card { min-height:310px; padding:1.6rem; display:flex; flex-direction:column; align-items:flex-start; background:#10212c; transition:background .18s, transform .18s; }
.crawl-card:hover, .crawl-card.active { background:#213b49; }
.crawl-card.active { box-shadow:inset 0 0 0 3px #f1bc57; }
.crawl-number { color:#f1bc57; font-size:.72rem; font-weight:900; letter-spacing:.16em; }
.crawl-region { margin:2.2rem 0 .6rem; color:#b8c8cf; font-size:.7rem; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.crawl-card h3 { margin:0 0 .7rem; font-family:Georgia,serif; font-size:1.65rem; font-weight:500; }
.crawl-card > p:last-of-type { margin:0 0 1.5rem; color:#cbd4d9; line-height:1.55; font-size:.88rem; }
.crawl-card button { margin-top:auto; padding:0; border:0; background:transparent; color:#f1bc57; cursor:pointer; font-weight:850; text-align:left; }
.crawl-card button:hover { color:white; text-decoration:underline; text-underline-offset:.3rem; }
.build-crawl-card { max-width:1440px; min-height:130px; margin:1rem auto 0; padding:1.4rem 1.6rem; display:grid; grid-template-columns:130px minmax(0,1fr) auto; align-items:center; gap:1.5rem; border:1px solid rgba(255,255,255,.25); background:#f1bc57; color:var(--ink); text-decoration:none; transition:transform .18s,background .18s; }
.build-crawl-card:hover,.build-crawl-card:focus-visible { background:#ffd978; transform:translateY(-2px); outline:3px solid white; outline-offset:2px; }
.build-crawl-card .crawl-number { color:var(--red-dark); }
.build-crawl-card strong { display:block; margin-bottom:.35rem; font-family:Georgia,serif; font-size:clamp(1.45rem,2.5vw,2.15rem); font-weight:500; }
.build-crawl-card small { display:block; max-width:760px; color:#344651; font-size:.85rem; line-height:1.55; }
.build-crawl-card b { color:var(--red-dark); font-size:.88rem; white-space:nowrap; }

.trail { padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem); background: var(--paper); }
.trail-heading { max-width: 1440px; margin: 0 auto 2rem; display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
h2 { margin: 0; font-size: clamp(2.5rem, 4.5vw, 4.6rem); line-height: 1; }
.trail-summary { max-width: 390px; margin: 0; color: var(--ink-soft); line-height: 1.6; }
.trail-summary strong { color: var(--red); font-family: Georgia, serif; font-size: 1.8rem; }
.toolbar { max-width: 1440px; margin: 0 auto 1rem; display: grid; grid-template-columns: minmax(260px, 1fr) auto auto; gap: .8rem; align-items: center; }
.search-box { height: 48px; display: flex; align-items: center; gap: .65rem; padding: 0 .9rem; border: 1px solid var(--line); background: white; }
.search-box:focus-within { outline: 3px solid rgba(184,38,53,.15); border-color: var(--red); }
.search-box svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 2; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.filter-group { display: flex; gap: .35rem; }
.filter, .surprise, .pet-filter { min-height: 48px; border: 1px solid var(--line); background: white; color: var(--ink); padding: .65rem .8rem; cursor: pointer; font-size: .83rem; font-weight: 800; }
.filter { display: inline-flex; gap: .43rem; align-items: center; }
.filter .filter-count { color: #71808a; font-size: .72rem; }
.filter.active { border-color: var(--ink); background: var(--ink); color: white; }
.filter.active .filter-count { color: #d9e0e4; }
.surprise { border-color: var(--red); color: var(--red); }
.surprise:hover { background: #fff2f1; }
.toolbar-actions { position:relative; display:flex; justify-content:flex-end; flex-wrap:wrap; gap:.4rem; }
.amenity-filter { position:relative; }
.amenity-filter summary { min-height:48px; display:inline-flex; align-items:center; gap:.42rem; padding:.65rem .8rem; border:1px solid #315c72; background:white; color:#315c72; cursor:pointer; font-size:.83rem; font-weight:850; list-style:none; white-space:nowrap; }
.amenity-filter summary::-webkit-details-marker { display:none; }
.amenity-filter summary:hover,.amenity-filter[open] summary { background:#eef5f7; }
.amenity-filter.active summary { background:#315c72; color:white; }
.amenity-filter-menu { position:absolute; z-index:20; right:0; top:calc(100% + .55rem); width:min(470px,calc(100vw - 2rem)); padding:1rem; border:1px solid var(--line); background:var(--paper); box-shadow:0 18px 45px rgba(23,43,56,.22); }
.region-filter-menu { width:min(230px,calc(100vw - 2rem)); padding:.4rem .6rem; }
.region-filter-menu label { display:flex; align-items:center; gap:.55rem; min-height:44px; padding:.3rem .4rem; color:var(--ink); font-size:.85rem; font-weight:750; cursor:pointer; }
.region-filter-menu label:hover { background:var(--cream); }
.region-filter-menu input { width:1rem; height:1rem; margin:0; accent-color:var(--red); }
.amenity-filter-hint { margin:0 0 .65rem; color:var(--ink-soft); font-size:.74rem; }
.amenity-filter-hint[hidden], .offering-option[hidden] { display:none; }
.trail-filter-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.trail-filter-columns section { min-width:0; }
.trail-filter-columns h3 { margin:0 0 .45rem; font:700 1rem Georgia,serif; }
.amenity-options { display:grid; align-content:start; grid-template-columns:minmax(0,1fr); gap:.4rem; max-height:min(43vh,22rem); overflow-y:auto; padding:2px; }
.amenity-option.offering-option { grid-template-columns:minmax(0,1fr) auto; }
.offering-option { overflow-wrap:anywhere; }
.amenity-option { min-height:42px; display:grid; grid-template-columns:1.35rem 1fr auto; gap:.42rem; align-items:center; padding:.55rem .6rem; border:1px solid #d6dfdf; background:white; color:var(--ink); cursor:pointer; font-size:.76rem; font-weight:800; text-align:left; }
.amenity-option:hover { border-color:#315c72; background:#f2f7f8; }
.amenity-option.active { border-color:#315c72; background:#315c72; color:white; }
.amenity-option i { font-style:normal; font-size:.95rem; text-align:center; }
.amenity-option > span { color:#6a7a82; font-size:.68rem; }
.amenity-option.active > span { color:#dce9ed; }
.clear-amenities { width:100%; margin-top:.75rem; padding:.65rem; border:0; background:#e7edf0; color:var(--ink); cursor:pointer; font-size:.75rem; font-weight:850; }
.clear-amenities:disabled { opacity:.5; cursor:default; }
.pet-filter { display:inline-flex; align-items:center; gap:.42rem; border-color:#27623d; color:#27623d; white-space:nowrap; }
.pet-filter:hover { background:#edf7ef; }
.pet-filter.active { background:#27623d; color:white; }
.pet-filter > span:last-child { opacity:.72; font-size:.72rem; }
.paw-icon { width:.95rem; height:.85rem; flex:0 0 auto; font-size:0; color:#27623d; background:radial-gradient(circle at 12% 31%, currentColor 0 .105rem, transparent .12rem),radial-gradient(circle at 37% 14%, currentColor 0 .11rem, transparent .125rem),radial-gradient(circle at 63% 14%, currentColor 0 .11rem, transparent .125rem),radial-gradient(circle at 88% 31%, currentColor 0 .105rem, transparent .12rem),radial-gradient(ellipse 42% 38% at 50% 69%, currentColor 0 95%, transparent 100%); background-repeat:no-repeat; }
.pet-filter.active .paw-icon { color:white; }
.filter i { width: 9px; height: 9px; display: inline-block; border-radius: 50%; }
.all-dot { background: linear-gradient(90deg,var(--gold) 0 33%,var(--wine) 33% 66%,var(--copper) 66%); }
.brewery-dot { background: var(--gold); }
.winery-dot { background: var(--wine); }
.distillery-dot { background: var(--copper); }
.mobile-view-switch { display:none; }

.explorer { position: relative; max-width: 1440px; min-height: 650px; margin: 0 auto; display: grid; grid-template-columns: 340px minmax(0,1fr); border: 1px solid var(--line); background: white; box-shadow: var(--shadow); }
.results-panel { min-width: 0; border-right: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; max-height: 680px; }
.results-heading { padding: 1.2rem 1.25rem 1rem; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); }
.results-heading h3 { margin: 0; font-family: Georgia,serif; font-size: 1.45rem; }
.results-heading span { color: var(--ink-soft); font-size: .8rem; }
.location-list { overflow: auto; overscroll-behavior: contain; }
.location-item { width: 100%; display: grid; grid-template-columns: 54px 1fr auto; gap: .8rem; align-items: center; padding: .85rem 1rem; border: 0; border-bottom: 1px solid #eee8de; background: white; text-align: left; cursor: pointer; }
.location-item:hover, .location-item:focus-visible, .location-item.selected { background: #f8f2e7; outline: 0; }
.location-item.selected { box-shadow: inset 4px 0 var(--red); }
.location-thumb { width:54px; height:54px; display:grid; place-items:center; overflow:hidden; border:1px solid #e6dfd3; border-radius:4px; background:white; }
.location-thumb img { width:100%; height:100%; display:block; padding:4px; object-fit:contain; }
.location-thumb.fallback { border:0; background:transparent; }
.location-thumb.fallback::after { content:""; width:11px; height:11px; border-radius:50%; background:var(--marker-color,var(--red)); }
.location-item strong { display: block; margin-bottom: .3rem; font-family: Georgia,serif; font-size: 1rem; line-height: 1.25; }
.location-item small { color: var(--ink-soft); line-height: 1.35; }
.amenity-badges { display:flex; flex-wrap:wrap; gap:.35rem; }
.amenity-badges[hidden] { display:none; }
.amenity-badge { display:inline-flex; align-items:center; gap:.28rem; min-height:25px; padding:.25rem .48rem; border:1px solid #b9cdd5; border-radius:999px; background:#edf4f6; color:#244c60; font-size:.67rem; font-weight:850; line-height:1.15; white-space:nowrap; }
.amenity-badge i { width:.85rem; font-style:normal; text-align:center; }
.location-amenities { margin-top:.45rem; }
.location-amenities .amenity-badge { min-height:22px; padding:.2rem .4rem; font-size:.6rem; }
.amenity-more { background:#f3eee4; border-color:#ddd0bc; color:#5e5141; }
.visited-label { display:inline-block; margin:0 0 .3rem; color:#2e6c45; font-size:.68rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.location-item .arrow { color: var(--red); font-size: 1.25rem; }
.empty-list { padding: 2rem 1.25rem; color: var(--ink-soft); line-height: 1.6; }
.map-panel { position: relative; display: grid; min-width: 0; background: var(--water); }
.map-shell { min-height: 650px; position: relative; overflow: hidden; touch-action: none; overscroll-behavior:contain; background: var(--water); contain:layout paint; user-select:none; -webkit-user-select:none; -webkit-touch-callout:none; }
.map-canvas, .map-canvas svg { width: 100%; height: 100%; position: absolute; inset: 0; display: block; }
.map-canvas svg { cursor: grab; touch-action:none; }
.map-canvas svg.dragging { cursor: grabbing; }
.map-message { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; padding: 2rem; color: var(--ink-soft); text-align: center; }
.maryland-counties use { stroke: #fffdf8; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.map-pin { cursor: pointer; outline: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.map-pin .pin-icon { pointer-events: none; }
.map-pin .pin-ring { fill: white; stroke: white; stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.map-pin:hover .pin-ring, .map-pin:focus .pin-ring, .map-pin.selected .pin-ring { stroke: var(--ink); stroke-width: 3.2; }
.map-pin.selected { filter: drop-shadow(0 4px 4px rgba(0,0,0,.4)); }
.map-pin.visited .pin-ring { stroke:#2e6c45; stroke-width:4; }
.pin-check { fill:none; stroke:white; stroke-width:2.1; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; pointer-events:none; }
.map-controls { position: absolute; right: 1rem; top: 1rem; display: grid; justify-items:end; gap: .35rem; }
.map-controls button { width: 42px; height: 42px; border: 1px solid var(--line); background: rgba(255,253,248,.94); color: var(--ink); font-size: 1.25rem; font-weight: 800; cursor: pointer; box-shadow: 0 3px 12px rgba(23,43,56,.12); }
.map-controls button:hover { background: white; border-color: var(--ink); }
.map-controls .reset-map-button { width:auto; min-width:82px; padding:0 .72rem; display:inline-flex; align-items:center; justify-content:center; gap:.38rem; border-color:var(--red); color:var(--red); font-size:.76rem; font-weight:900; }
.map-controls .reset-map-button span:first-child { font-size:1rem; }
.map-controls .reset-map-button:hover,.map-controls .reset-map-button:focus-visible { background:var(--red); color:white; outline:0; }
.map-key { position: absolute; z-index: 6; left: 1rem; bottom: 1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; padding: .45rem .6rem; border: 1px solid rgba(23,43,56,.15); background: rgba(255,253,248,.92); font-size: .74rem; font-weight: 800; }
.map-key button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; min-height: 52px; padding: .2rem .4rem; border: 1px solid transparent; border-radius: 4px; background: transparent; color: inherit; font: inherit; text-align: center; cursor: pointer; }
.map-key button:hover { background: #f8f2e7; }
.map-key button[aria-pressed="true"] { background: #f8f2e7; border-color: var(--red); color: var(--red); }
.map-key button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.map-key img { width:28px; height:28px; display:block; object-fit:contain; pointer-events:none; }
.map-key .map-key-label { pointer-events:none; }
.place-card { position: absolute; z-index: 5; left: 50%; top: 50%; width: min(440px, calc(100% - 2rem)); max-height:calc(100% - 2rem); overflow-y:auto; padding: 1.35rem 1.45rem; border: 1px solid rgba(23,43,56,.14); border-top: 5px solid var(--red); background: var(--paper); box-shadow: 0 16px 45px rgba(23,43,56,.3); transform: translate(-50%,-50%); touch-action: auto; isolation: isolate; }
.place-card[hidden] { display: none; }
.close-card { position: absolute; right: .6rem; top: .55rem; width: 34px; height: 34px; border: 0; background: transparent; color: var(--ink); font-size: 1.7rem; cursor: pointer; }
.place-logo { width:min(180px,55%); height:82px; margin:0 2.2rem .85rem 0; padding:.45rem; display:flex; align-items:center; justify-content:flex-start; border:1px solid #e6dfd3; border-radius:4px; background:white; }
.place-logo[hidden] { display:none; }
.place-logo img { max-width:100%; max-height:100%; display:block; object-fit:contain; }
.place-category { margin: 0 2rem .45rem 0; color: var(--red); font-size: .7rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.place-card h3 { margin: 0 2rem .65rem 0; font-family: Georgia,serif; font-size: 1.65rem; line-height: 1.08; }
.place-address { margin: .4rem 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.45; }
.place-pet { margin-top: .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .6rem; padding: .7rem .75rem; border: 1px solid #b8d5c0; background: #edf7ef; }
.place-pet[hidden] { display: none; }
.place-food-note { margin-top:.8rem; display:flex; align-items:flex-start; gap:.6rem; padding:.72rem .78rem; border:1px solid #e4c66a; background:#fff8dd; color:#5b4610; }
.place-food-note[hidden] { display:none; }
.place-food-note > span { flex:0 0 auto; font-size:1rem; line-height:1.35; }
.place-food-note p { margin:0; font-size:.78rem; font-weight:750; line-height:1.45; }
.place-listing-notes { margin-top:.8rem; padding:.72rem .78rem; border:1px solid #c9c1ad; background:#f7f3e9; color:#3f382a; }
.place-listing-notes[hidden] { display:none; }
.place-listing-notes > strong { display:block; margin-bottom:.3rem; font-size:.68rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.place-listing-notes ul { margin:0; padding-left:1rem; }
.place-listing-notes li { margin:.2rem 0; font-size:.76rem; font-weight:700; line-height:1.4; }
.pet-badge { display: inline-flex; align-items: center; gap: .32rem; padding: .35rem .55rem; border-radius: 999px; background: #27623d; color: white; font-size: .72rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.pet-badge span { width: .95rem; height: .85rem; flex: 0 0 auto; font-size: 0; line-height: 1; color: white; background: radial-gradient(circle at 12% 31%, currentColor 0 .105rem, transparent .12rem), radial-gradient(circle at 37% 14%, currentColor 0 .11rem, transparent .125rem), radial-gradient(circle at 63% 14%, currentColor 0 .11rem, transparent .125rem), radial-gradient(circle at 88% 31%, currentColor 0 .105rem, transparent .12rem), radial-gradient(ellipse 42% 38% at 50% 69%, currentColor 0 95%, transparent 100%); background-repeat: no-repeat; }
.pet-restrictions { flex: 1 1 180px; color: #284a35; font-size: .75rem; font-weight: 700; line-height: 1.35; }
.pet-policy-link { color: #27623d; font-size: .72rem; font-weight: 900; text-underline-offset: .2rem; white-space: nowrap; }
.popup-amenities { margin-top:.8rem; padding-top:.75rem; border-top:1px solid #e4ddd1; }
.place-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.place-visited { width:100%; margin-top:1rem; }
.popup-shop-link { margin:1rem 0 0; padding-top:.85rem; border-top:1px solid #ddd2bc; text-align:center; }
.popup-shop-link a { color:var(--red); font-size:.78rem; font-weight:850; line-height:1.4; text-underline-offset:.22rem; }
.primary-button { padding: .7rem .9rem; font-size: .83rem; box-shadow: 3px 3px 0 var(--ink); }
.place-actions .primary-button + .primary-button { border: 1px solid var(--red); background: transparent; color: var(--red); box-shadow: none; }
.place-actions .primary-button + .primary-button:hover { background: #fff2f1; transform: none; }
.text-button { color: var(--red); font-size: .82rem; font-weight: 800; text-underline-offset: .25rem; }
.share-tools { margin-top:1rem; padding-top:.85rem; border-top:1px solid #ddd2bc; }
.share-label { display:block; margin-bottom:.55rem; color:var(--ink-soft); font-size:.68rem; font-weight:900; letter-spacing:.11em; text-transform:uppercase; }
.share-actions { display:flex; flex-wrap:wrap; gap:.4rem; }
.share-button { min-height:34px; display:inline-flex; align-items:center; justify-content:center; gap:.3rem; padding:.4rem .58rem; border:1px solid #c9d2d6; border-radius:4px; background:white; color:var(--ink); cursor:pointer; font-size:.7rem; font-weight:850; }
.share-button:hover,.share-button:focus-visible { border-color:var(--ink); background:#f2f5f6; outline:0; }
.share-button.facebook { border-color:#1877f2; color:#155dc0; }
.share-button.facebook span { font-family:Arial,sans-serif; font-size:1rem; font-weight:900; }
.share-button.x-share { border-color:#172b38; color:#172b38; }
.share-status { min-height:1rem; display:block; margin-top:.4rem; color:#27623d; font-size:.7rem; font-weight:800; }
.map-note { max-width: 1440px; margin: .8rem auto 0; color: #66747c; font-size: .76rem; }
.hamx-ad { max-width:920px; margin:1rem auto 0; padding:.8rem 1rem; display:flex; align-items:center; gap:1rem; border:1px solid #d9cdb8; background:#fffaf0; color:var(--ink); text-decoration:none; box-shadow:0 6px 18px rgba(23,43,56,.05); transition:border-color .18s,transform .18s,box-shadow .18s; }
.hamx-ad:hover,.hamx-ad:focus-visible { border-color:var(--red); transform:translateY(-1px); box-shadow:0 9px 22px rgba(23,43,56,.09); outline:0; }
.hamx-ad-label { flex:0 0 auto; color:#7c7062; font-size:.58rem; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
.hamx-ad-copy { flex:1; color:#4e5c64; font-size:.78rem; line-height:1.45; }
.hamx-ad-copy strong { color:var(--ink); }
.hamx-ad-action { flex:0 0 auto; color:var(--red-dark); font-size:.73rem; font-weight:900; white-space:nowrap; }

.responsible { padding:clamp(4rem,7vw,7rem) clamp(1.5rem,7vw,7rem); background:#f3d168; color:var(--ink); }
.responsible-heading { max-width:980px; }
.responsible-heading .eyebrow { color:var(--red-dark); }
.responsible-heading h2 span { color:var(--red-dark); font-style:italic; }
.responsible-heading > p:last-child { max-width:720px; margin:1.2rem 0 0; color:#344651; font-size:1.05rem; line-height:1.65; }
.responsible-grid { max-width:1440px; margin:2.4rem 0 1.5rem; display:grid; grid-template-columns:repeat(3,1fr); gap:1px; border:1px solid rgba(23,43,56,.25); background:rgba(23,43,56,.25); }
.responsible-grid article { padding:1.5rem; background:#fff9e8; }
.responsible-grid article > span { color:var(--red-dark); font-size:.7rem; font-weight:900; letter-spacing:.16em; }
.responsible-grid h3 { margin:.9rem 0 .55rem; font-family:Georgia,serif; font-size:1.45rem; }
.responsible-grid p { margin:0; color:#43545d; font-size:.88rem; line-height:1.6; }
.responsible-links { max-width:970px; margin:0; color:#344651; font-size:.78rem; line-height:1.6; }
.responsible-links a { color:var(--red-dark); font-weight:850; text-underline-offset:.2rem; }

.about { padding: clamp(4rem,7vw,7rem) clamp(1.5rem,8vw,8rem); display: grid; grid-template-columns: .7fr 1.3fr; gap: 5vw; background: var(--ink); color: white; }
.about .eyebrow { color: #f1bc57; }
.about-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.2rem; }
.about-grid article { border-top: 1px solid rgba(255,255,255,.3); padding-top: 1.2rem; }
.about-grid .number { color: #f1bc57; font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.about-grid h3 { margin: .8rem 0 .6rem; font-family: Georgia,serif; font-size: 1.45rem; }
.about-grid p { margin: 0; color: #cbd4d9; line-height: 1.65; font-size: .9rem; }
footer { min-height: 110px; padding: 2rem clamp(1.5rem,5vw,5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: #10212c; color: #dfe6e9; }
footer a { text-underline-offset:.24rem; }
.footer-brand strong { color: white; }
footer p { margin: 0; color: #aebcc3; font-size: .83rem; }
.footer-links { display:flex; flex-direction:column; align-items:flex-end; gap:.55rem; }
.footer-credit { display:flex; align-items:center; justify-content:flex-end; gap:.75rem; flex-wrap:wrap; }
.footer-credit > span { white-space:nowrap; }
.footer-facebook { display:inline-flex; align-items:center; gap:.35rem; color:#dfe6e9; font-weight:800; }
.footer-facebook > span { width:1.25rem; height:1.25rem; display:inline-grid; place-items:center; border-radius:50%; background:#1877f2; color:white; font-family:Arial,sans-serif; font-size:.82rem; text-decoration:none; }

@media (max-width: 1080px) {
  .toolbar { grid-template-columns: 1fr auto; }
  .filter-group { grid-column: 1/-1; grid-row: 2; overflow-x: auto; }
  .toolbar-actions { grid-column: 2; grid-row: 1; }
  .amenity-filter-menu { right:auto; left:0; }
  .explorer { grid-template-columns: 300px 1fr; }
  .about { grid-template-columns: 1fr; }
  .passport-intro { grid-template-columns:1fr; }
  .crawl-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 760px) {
  .site-header { height: 76px; padding: 0 1rem; }
  .header-link { display: none; }
  .hero { min-height:calc(100svh - 76px); grid-template-columns:1fr; grid-template-rows:auto minmax(170px,220px); }
  .hero-copy { padding:2rem 1.25rem 1.5rem; }
  .hero-copy h1 { font-size:clamp(2.75rem,12.5vw,3.75rem); }
  .hero-intro { margin:1rem 0 1.35rem; font-size:.94rem; line-height:1.48; }
  .hero-ctas { gap:.8rem; }
  .hero-ctas .primary-cta { padding:.8rem 1rem; }
  .hero-art { min-height:170px; height:min(220px,28svh); }
  .hero-art img { width:min(82%,560px); max-height:84%; }
  .section-heading { align-items:start; flex-direction:column; }
  .crawls { padding:0; }
  .crawls-mobile-summary { min-height:74px; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1.15rem 1.25rem; border-bottom:1px solid rgba(255,255,255,.18); color:white; cursor:pointer; font-family:Georgia,"Times New Roman",serif; font-size:1.45rem; font-weight:600; list-style:none; }
  .crawls-mobile-summary::-webkit-details-marker { display:none; }
  .crawls-mobile-summary span { width:.65rem; height:.65rem; flex:0 0 auto; border-right:3px solid #f1bc57; border-bottom:3px solid #f1bc57; transform:rotate(45deg); transition:transform .2s ease; }
  .crawls[open] > .crawls-mobile-summary span { transform:rotate(225deg); }
  .crawls:not([open]) > .crawls-content { display:none; }
  .crawls-content { padding:2.4rem 1rem 3rem; }
  .crawls-content .section-heading { margin-bottom:1.5rem; }
  .crawls-content .section-heading > div { display:none; }
  .crawl-grid { grid-template-columns:1fr; }
  .crawl-card { min-height:260px; }
  .build-crawl-card { grid-template-columns:1fr; gap:.7rem; }
  .build-crawl-card b { margin-top:.35rem; }
  .passport-icon-grid { grid-template-columns:1fr; }
  .passport-icon-grid article { min-height:130px; }
  .trail { padding: 1.35rem .85rem 3rem; }
  .trail-heading { align-items: start; flex-direction: column; gap: .35rem; margin-bottom:.65rem; }
  .trail-heading .eyebrow { margin-bottom:.35rem; }
  .trail-heading h2 { font-size:clamp(1.75rem,7vw,2.35rem); }
  .trail-summary { font-size:.82rem; line-height:1.4; }
  .trail-summary strong { font-size:1.15rem; }
  #trail-events { scroll-margin-top:.25rem; }
  .trail-events-link .primary-cta { min-height:44px; padding:.4rem .7rem; font-size:.84rem; }
  .toolbar { grid-template-columns: 1fr; gap:.4rem; margin-bottom:.5rem; }
  .trail .search-box { height:44px; }
  .search-box, .toolbar-actions { grid-column: 1; }
  .toolbar-actions { grid-row: 3; display:grid; grid-template-columns:1fr 1fr; }
  .amenity-filter { min-width:0; }
  .toolbar-actions:has(> details[open]) > details { grid-column:1/-1; }
  .amenity-filter summary { width:100%; min-height:44px; justify-content:center; padding:.4rem .25rem; font-size:.75rem; text-align:center; white-space:normal; }
  .toolbar-actions > button { min-height:44px; padding:.4rem .25rem; }
  .amenity-filter-menu { position:static; width:100%; margin-top:.4rem; }
  .trail-filter-columns { gap:.45rem; }
  .trail-filter-columns .amenity-option { gap:.25rem; padding:.4rem; }
  .filter-group { grid-row:2; width:100%; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.3rem; }
  .filter { min-width:0; min-height:44px; padding:.25rem .08rem; display:flex; flex-direction:column; justify-content:center; gap:.12rem; font-size:.62rem; line-height:1.05; }
  .filter i { width:7px; height:7px; flex:0 0 auto; }
  .filter .filter-label { display:block; max-width:100%; overflow:hidden; white-space:nowrap; }
  .filter .filter-count { font-size:.59rem; }
  .mobile-view-switch { margin:0 auto .35rem; display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--line); background:white; }
  .mobile-view-switch button { min-height:44px; border:0; background:white; color:var(--ink); cursor:pointer; font-size:.82rem; font-weight:850; }
  #trail-explorer { scroll-margin-top:3.5rem; }
  .mobile-view-switch button + button { border-left:1px solid var(--line); }
  .mobile-view-switch button.active { background:var(--ink); color:white; }
  .mobile-view-switch b { margin-left:.22rem; font-size:.68rem; opacity:.72; }
  .explorer { display:block; min-height:0; }
  .results-panel { display:none; max-height:none; min-height:450px; border-right:0; border-top:0; }
  .explorer.mobile-list .results-panel { display:flex; max-height:70svh; }
  .explorer.mobile-list .map-panel { display:none; }
  .explorer.mobile-list .location-list { max-height:calc(70svh - 64px); }
  .map-shell { min-height:0; touch-action:pan-y; overscroll-behavior:auto; padding-top:44px; background:linear-gradient(#f6eee0 44px,var(--water) 44px); }
  .map-canvas { position:relative; height:auto; aspect-ratio:1000 / 575; }
  .map-canvas svg { touch-action:pan-y; }
  .map-controls { display:flex; right:.35rem; top:.25rem; }
  .map-controls button { width:38px; height:38px; }
  .map-controls .reset-map-button { width:auto; min-width:72px; padding:0 .55rem; font-size:.7rem; }
  .map-pin { filter:none; }
  .map-pin.selected { filter:drop-shadow(0 2px 2px rgba(0,0,0,.32)); }
  .place-card { left:.75rem; right:.75rem; top:auto; bottom:4.75rem; width:auto; max-height:calc(100% - 5.5rem); overflow-y:auto; transform:none; background:#fffdf8; }
  .map-key { position:relative; inset:auto; margin:.3rem .45rem .45rem; justify-content:center; }
  .place-card:not([hidden]) ~ * { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .responsible-grid { grid-template-columns:1fr; }
  .hamx-ad { align-items:flex-start; flex-wrap:wrap; padding:.8rem .85rem; }
  .hamx-ad-copy { flex-basis:calc(100% - 7rem); }
  .hamx-ad-action { width:100%; padding-top:.35rem; border-top:1px solid #e5d9c5; }
  footer { align-items: flex-start; flex-direction: column; }
  .footer-links { align-items:flex-start; }
  .footer-credit { justify-content:flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
