:root {
  --bg: #121510;
  --bg-elev: #1b2018;
  --bg-panel: rgba(18, 21, 16, 0.94);
  --ink: #efe8d6;
  --muted: #b7b09a;
  --brass: #d4b45a;
  --brass-dim: #9a7f2e;
  --forest: #4a6a3f;
  --line: rgba(212, 180, 90, 0.28);
  --danger: #c45c3e;
  --ad: #24281f;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  --header-h: 58px;
  --ad-h: 92px;
  --foot-h: 34px;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 40;
  background: var(--brass);
  color: #1a1608;
  padding: 8px 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.chrome {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  background: linear-gradient(180deg, #161a13 0%, #121510 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 8;
}
.chrome::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  opacity: 0.7;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
}
.mark {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--brass);
  text-decoration: none;
}
.word {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.product {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex: 0 0 auto;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--brass); color: var(--brass); }

.search {
  position: relative;
  flex: 1 1 280px;
  max-width: 520px;
}
.search input {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  background: #0e110d;
  color: var(--ink);
  border-radius: 6px;
  padding: 0 12px;
  font: inherit;
  outline: none;
}
.search input:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(212, 180, 90, 0.18); }
.search input::placeholder { color: #8a8472; }

.suggest {
  list-style: none;
  margin: 6px 0 0;
  padding: 6px;
  position: absolute;
  left: 0;
  right: 0;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-height: 280px;
  overflow: auto;
  z-index: 12;
}
.suggest li button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: inherit;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.suggest li button:hover, .suggest li button[aria-selected="true"] {
  background: rgba(212, 180, 90, 0.14);
}
.suggest small { display: block; color: var(--muted); font-size: 0.78rem; }

.ad {
  min-height: var(--ad-h);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 16px;
  background: var(--ad);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.ad-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8d8774;
  flex: 0 0 auto;
}
.ad-slot {
  flex: 1;
  min-height: 42px;
  border: 1px dashed rgba(212, 180, 90, 0.35);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 12px;
  color: var(--muted);
  background: repeating-linear-gradient(
    -45deg,
    rgba(212, 180, 90, 0.03),
    rgba(212, 180, 90, 0.03) 8px,
    transparent 8px,
    transparent 16px
  );
}
.ad-slot strong { color: var(--brass); font-size: 0.86rem; }
.ad-slot span { font-size: 0.8rem; }

.stage {
  position: relative;
  height: calc(100vh - var(--header-h) - var(--ad-h) - var(--foot-h));
  min-height: 420px;
}
#map { position: absolute; inset: 0; }
.map-status {
  position: absolute;
  left: 50%;
  top: 24%;
  transform: translateX(-50%);
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 8px;
  max-width: 28rem;
}

.usa-reset {
  position: absolute;
  left: 12px;
  bottom: 28px;
  z-index: 4;
  background: var(--bg-elev);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  height: 34px;
  padding: 0 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.usa-reset:hover { border-color: var(--brass); color: var(--brass); }

.panel {
  position: absolute;
  top: 12px;
  right: 12px;
  width: min(360px, calc(100% - 24px));
  background: var(--bg-panel);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  z-index: 5;
}
.panel[hidden] { display: none; }
.panel-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
}
.eyebrow {
  margin: 0 0 4px;
  color: var(--brass);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
}
.panel h1, .prose h1 {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.7rem;
  margin: 0 0 8px;
  line-height: 1.15;
}
.meta, .notes, .legal { color: var(--muted); margin: 0 0 10px; }
.notes { color: var(--ink); }

/* panel amazon ad */
.panel-ad {
  margin-top: 12px; /* panel-ad-below-gis */

  margin: 0 0 12px;
}
.panel-ad[hidden] { display: none; }
.panel-ad-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.panel-ad-card:hover, .panel-ad-card:focus-visible {
  border-color: var(--brass);
  background: rgba(201, 162, 39, 0.06);
  outline: none;
}
.panel-ad-kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 700;
  margin-bottom: 2px;
}
.panel-ad-copy strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 2px;
}
.panel-ad-blurb {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}
.panel-ad-img {
  display: block;
  width: 100%;
  max-width: 160px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
  margin: 4px auto 0;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
}
.panel-ad-cta {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brass);
  letter-spacing: 0.04em;
}
.legal { font-size: 0.78rem; margin-top: 12px; }

.actions { display: flex; flex-direction: column; gap: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brass);
  color: #1a1608;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-listed { background: rgba(74, 106, 63, 0.35); color: #d5e8c8; }
.badge-verify { background: rgba(196, 92, 62, 0.22); color: #f0c2b3; }
.badge-statewide { background: rgba(74, 106, 63, 0.35); color: #d5e8c8; } /* same as county badge (2026-10-03) */

.foot {
  height: var(--foot-h);
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #0e110d;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  color: #8a8472;
  font-size: 0.75rem;
}
.foot a { color: var(--brass); }
.foot p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

body.doc { min-height: 100%; height: auto; }
.prose {
  max-width: 42rem;
  margin: 0 auto;
  padding: 36px 20px 64px;
}
.prose h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin: 28px 0 8px;
}
.prose a { color: var(--brass); }
.prose .back { margin-top: 32px; }
code {
  font-size: 0.88em;
  background: #0e110d;
  padding: 0 5px;
  border-radius: 4px;
}

.maplibregl-ctrl-attrib {
  background: rgba(18, 21, 16, 0.75) !important;
  color: #c9c2ad !important;
}
.maplibregl-ctrl-attrib a { color: var(--brass) !important; }

@media (max-width: 760px) {
  .chrome { gap: 8px; padding: 0 10px; }
  .product { display: none; }
  .search { max-width: none; }
  .ad { min-height: 48px; }
  .ad-slot span { display: none; }
  .stage { height: calc(100vh - 58px - 48px - 34px); }
  .panel {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-radius: 14px 14px 0 0;
    max-height: 48vh;
    overflow: auto;
  }
  .usa-reset { bottom: auto; top: 12px; }
}


/* Amazon product ad strip */
.ad {
  min-height: var(--ad-h);
  background: linear-gradient(180deg, #141814 0%, #101210 100%);
  border-bottom: 1px solid rgba(244, 228, 180, 0.12);
  padding: 0.35rem 0.75rem 0.28rem;
}
.ad-bar {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0.2rem 0.75rem;
  align-items: center;
}
.ad-kicker {
  grid-row: 1;
  grid-column: 1;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 228, 180, 0.55);
  white-space: nowrap;
}
.ad-track {
  grid-row: 1;
  grid-column: 2;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 2px;
}
.ad-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 210px;
  max-width: 260px;
  padding: 0.4rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(244, 228, 180, 0.18);
  background: rgba(28, 32, 28, 0.95);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.ad-card:hover, .ad-card:focus-visible {
  border-color: rgba(244, 228, 180, 0.45);
  background: rgba(36, 42, 34, 0.98);
  outline: none;
}
.ad-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(244, 228, 180, 0.12);
  flex-shrink: 0;
  position: relative;
}
.ad-icon::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: currentColor;
  color: #f4e4b4;
  opacity: 0.9;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.ad-icon[data-icon="stake"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M11 2h2v14l-1 6h-0.1L11 16V2zm-3 4h8v2H8V6z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M11 2h2v14l-1 6h-0.1L11 16V2zm-3 4h8v2H8V6z'/></svg>");
}
.ad-icon[data-icon="book"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 3h7a3 3 0 013 3v15a2.5 2.5 0 00-2.5-2.5H4V3zm16 0h-7a3 3 0 00-3 3v15a2.5 2.5 0 012.5-2.5H20V3z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 3h7a3 3 0 013 3v15a2.5 2.5 0 00-2.5-2.5H4V3zm16 0h-7a3 3 0 00-3 3v15a2.5 2.5 0 012.5-2.5H20V3z'/></svg>");
}
.ad-icon[data-icon="gps"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a8 8 0 018 8c0 5-8 12-8 12S4 15 4 10a8 8 0 018-8zm0 5a3 3 0 100 6 3 3 0 000-6z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a8 8 0 018 8c0 5-8 12-8 12S4 15 4 10a8 8 0 018-8zm0 5a3 3 0 100 6 3 3 0 000-6z'/></svg>");
}
.ad-icon[data-icon="detect"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 20l6-6 2 2 8-8v4h2V6h-6v2h4l-7 7-2-2-7 7z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 20l6-6 2 2 8-8v4h2V6h-6v2h4l-7 7-2-2-7 7z'/></svg>");
}
.ad-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  min-width: 0;
}
.ad-copy strong {
  color: #f4e4b4;
  font-size: 0.8rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-copy span {
  font-size: 0.72rem;
  color: rgba(230, 230, 220, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-cta {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0c0e0c;
  background: #f0c45c;
  padding: 0.28rem 0.45rem;
  border-radius: 6px;
  flex-shrink: 0;
}
.ad-disc {
  grid-row: 2;
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.62rem;
  color: rgba(230, 230, 220, 0.4);
  line-height: 1.2;
}
@media (max-width: 720px) {
  :root { --ad-h: 108px; }
  .ad-bar {
    grid-template-columns: 1fr;
  }
  .ad-kicker { grid-column: 1; }
  .ad-track { grid-column: 1; }
  .ad-card { min-width: 190px; }
  .ad-copy span { display: none; }
}

.ad-icon[data-icon="drone"]::before {
  content: "✈";
  font-size: 0.95em;
}
.ad-icon[data-icon="measure"]::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 4h4v2H6v12h2v2H4V4zm16 0v16h-4v-2h2V6h-2V4h4zM9 11h6v2H9v-2z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M4 4h4v2H6v12h2v2H4V4zm16 0v16h-4v-2h2V6h-2V4h4zM9 11h6v2H9v-2z'/></svg>");
}

.post .lede {
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(244, 232, 196, 0.88);
  margin: 0.5rem 0 1.5rem;
}
.post ol { padding-left: 1.25rem; }
.post ol li { margin: 0.4rem 0; }


/* Blog index */
.blog-index .lede { font-size: 1.08rem; color: var(--muted); max-width: 42rem; }
.blog-index .featured { margin: 1.75rem 0 2rem; }
.featured-card {
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 10px;
  padding: 1.1rem 1.25rem 1.25rem;
}
.featured-card h3 { margin: 0.2rem 0 0.5rem; font-family: var(--serif); font-size: 1.35rem; }
.featured-card h3 a { color: var(--ink); text-decoration: none; }
.featured-card h3 a:hover { color: var(--brass); }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.post-card a {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(27, 32, 24, 0.65);
  text-decoration: none;
  color: inherit;
}
.post-card a:hover { border-color: var(--brass); }
.post-card strong { color: var(--ink); font-size: 1.05rem; }
.post-card span { color: var(--muted); font-size: 0.92rem; }
.post-date { font-size: 0.75rem !important; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass) !important; }
.legal-note {
  border-left: 3px solid var(--brass-dim);
  padding: 0.65rem 0.85rem;
  background: rgba(212, 180, 90, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

/* Inline Amazon picks inside blog posts */
.post-amazon {
  margin: 1.25rem 0 1.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(0,0,0,0.28);
}
.post-amazon-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ec9a8;
  font-weight: 700;
}
.post-amazon ul {
  margin: 0;
  padding-left: 1.1rem;
}
.post-amazon li {
  margin: 0.35rem 0;
  line-height: 1.35;
}
.post-amazon a {
  color: #c8e6c9;
  font-weight: 600;
}
.post-amazon-disc {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
  opacity: 0.65;
  line-height: 1.3;
}

/* Keyword tag chips — prominent, outdoor dark aesthetic */
.tag-cloud {
  margin: 1.5rem 0 2rem;
  padding: 1.1rem 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(27, 32, 24, 0.95) 0%, rgba(18, 21, 16, 0.98) 100%);
  box-shadow: var(--shadow);
}
.tag-cloud > h2 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
}
.tag-cloud .tag-group-label {
  display: block;
  margin: 0.95rem 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}
.tag-cloud .tag-group-label:first-of-type { margin-top: 0.55rem; }
.tag-cloud .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tag,
a.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 180, 90, 0.42);
  background: rgba(74, 106, 63, 0.28);
  color: #efe8d6;
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
}
.tag:hover,
a.tag:hover,
a.tag:focus-visible {
  border-color: var(--brass);
  background: rgba(212, 180, 90, 0.22);
  color: #fff6d8;
  box-shadow: 0 0 0 2px rgba(212, 180, 90, 0.18);
  outline: none;
}
.tag-mi,
a.tag-mi {
  border-color: rgba(100, 160, 210, 0.55);
  background: rgba(40, 80, 120, 0.45);
  color: #d8ecff;
}
.tag-mi:hover,
a.tag-mi:hover,
a.tag-mi:focus-visible {
  border-color: #7eb8e8;
  background: rgba(60, 110, 160, 0.55);
  color: #f0f7ff;
  box-shadow: 0 0 0 2px rgba(100, 160, 210, 0.22);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(212, 180, 90, 0.28);
  border-radius: 10px;
  background: rgba(27, 32, 24, 0.72);
}
.post-tags .tag,
.post-tags a.tag {
  font-size: 0.84rem;
  padding: 0.38rem 0.72rem;
}
.post-tags-label {
  flex: 0 0 100%;
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}


/* Homepage hero — property/parcel search messaging */

.home-hero-inner { max-width: 920px; margin: 0 auto; }
.home-hero h1 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-weight: 650;
  color: var(--ink);
  line-height: 1.2;
}
.home-hero .lede {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52rem;
}

.intent-chips a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 180, 90, 0.42);
  background: rgba(74, 106, 63, 0.28);
  color: #efe8d6;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}
.intent-chips a:hover {
  border-color: var(--brass);
  background: rgba(212, 180, 90, 0.22);
}
.intent-list { color: var(--muted); }
.county-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.45rem 1rem;
}
.county-index li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(27, 32, 24, 0.55);
}
.county-index .meta { font-size: 0.78rem; color: var(--muted); }
.county-index a { color: var(--brass); text-decoration: none; font-weight: 650; }
.county-index a:hover { text-decoration: underline; }
a.btn-gis {
  display: inline-block;
  margin: 0.25rem 0;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  background: rgba(74, 106, 63, 0.45);
  border: 1px solid rgba(212, 180, 90, 0.45);
  color: #fff6d8;
  font-weight: 700;
  text-decoration: none;
}
a.btn-gis:hover { background: rgba(212, 180, 90, 0.25); }
body:not(.doc) .stage {
  /* keep map usable under hero */
}

/* States dropdown (details/summary) — dark theme, keyboard + hover */
.nav-states {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-states > summary {
  list-style: none;
  cursor: pointer;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid transparent;
  outline: none;
  user-select: none;
}
.nav-states > summary::-webkit-details-marker { display: none; }
.nav-states > summary::marker { content: ""; }
.nav-states > summary::after {
  content: "▾";
  margin-left: 0.28em;
  font-size: 0.75em;
  opacity: 0.85;
}
.nav-states > summary:hover,
.nav-states[open] > summary,
.nav-states > summary:focus-visible {
  border-bottom-color: var(--brass);
  color: var(--brass);
}
.nav-states > summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(212, 180, 90, 0.18);
  border-radius: 2px;
}
.nav-states-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  min-width: 11.5rem;
  max-width: min(18rem, calc(100vw - 24px));
  max-height: min(70vh, 22rem);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.4rem 0;
  margin: 0;
  background: #161a13;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overscroll-behavior: contain;
}
.nav-states-menu a {
  display: block;
  padding: 0.38rem 0.85rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: none;
  white-space: nowrap;
}
.nav-states-menu a:hover,
.nav-states-menu a:focus-visible,
.nav-states-menu a[aria-current="page"] {
  background: rgba(212, 180, 90, 0.16);
  color: var(--brass);
  outline: none;
}
.nav-states-menu a:first-child {
  border-bottom: 1px solid rgba(212, 180, 90, 0.18);
  margin-bottom: 0.2rem;
  padding-bottom: 0.5rem;
  color: var(--brass);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .nav { gap: 0.85rem; }
  .nav-states-menu {
    left: auto;
    right: 0;
    max-width: calc(100vw - 16px);
  }
}

/* County hub action row (non-MI state hubs) */
.county-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin-top: 0.25rem;
  align-items: center;
}
.county-actions a.btn-gis {
  margin: 0;
  padding: 0.28rem 0.55rem;
  font-size: 0.78rem;
}
.county-actions a.map-link {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}
.county-actions a.map-link:hover { color: var(--brass); text-decoration: underline; }
.county-index.hub-rows {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .county-index.hub-rows {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

.panel-ad-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 12px;
  margin-left: auto;
}
.panel-ad-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Separate the primary GIS action from the product suggestion. */
.panel .actions {
  margin-bottom: 20px;
}
.panel .btn-primary {
  background: #91ad86;
  border-color: #aec4a5;
  color: #142014;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}
.panel .btn-primary:hover,
.panel .btn-primary:focus-visible {
  background: #a0bb96;
  border-color: #bfd2b7;
  filter: none;
}
.panel .panel-ad {
  margin: 0 0 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(174, 196, 165, 0.22);
}

/* blog pager and state guides */
.blog-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-top: 1.25rem;
}
.blog-pager a { font-weight: 700; }
.blog-pager span { color: var(--muted); }
.guide-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  gap: 0.35rem;
}
.guide-links a { font-weight: 600; }

/* gear figures and affiliate disclosure */
.post-figure { margin: 0 0 1rem; }
.post-figure img { width: 100%; height: auto; display: block; border-radius: 12px; }
.affiliate-disclosure { font-size: 0.95rem; color: var(--muted); margin: 0 0 1.25rem; }

/* view platbookmapper button */
.prose a.view-mapper {
  display: inline-block;
  margin: 0.35rem 0 1.15rem;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  background: var(--brass, #d4b45a);
  border: 1px solid #e6c56a;
  color: #121510;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.prose a.view-mapper:hover { background: #e6c97a; color: #121510; }

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 1.15rem;
}
.share-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.2rem;
}
.share-row a,
.share-row button {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 180, 90, 0.45);
  background: rgba(74, 106, 63, 0.45);
  color: #fff6d8;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.prose .share-row a,
.prose .share-row button { color: #fff6d8; }
.share-row a:hover,
.share-row button:hover { background: rgba(212, 180, 90, 0.25); color: #fff6d8; }

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin: 0 0 1.15rem;
}
.share-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.2rem;
}
.share-row a,
.share-row button {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 180, 90, 0.45);
  background: rgba(74, 106, 63, 0.45);
  color: #fff6d8;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.prose .share-row a,
.prose .share-row button { color: #fff6d8; }
.share-row a:hover,
.share-row button:hover { background: rgba(212, 180, 90, 0.25); color: #fff6d8; }

/* ---- map quick fixes 2026-10-02 ---- */
.menu-btn { display: none; }
.usa-reset { left: auto; right: calc(12px + var(--pb-panel-w, 0px)); bottom: calc(30px + var(--pb-panel-h, 0px)); }
.map-legend {
  position: absolute; left: 12px; bottom: calc(30px + var(--pb-panel-h, 0px)); z-index: 4;
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 10px; font-size: 0.78rem; line-height: 1.5; color: var(--ink); pointer-events: none;
}
.map-legend small { color: var(--muted); }
.map-legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; border: 1px solid #ead7a2; }
.map-legend .sw-listed { background: rgba(201, 176, 106, 0.35); }
.map-legend .sw-verify { background: rgba(183, 124, 255, 0.75); }
.map-legend .sw-statewide { background: rgba(63, 183, 201, 0.6); }
.map-hint {
  position: absolute; left: 50%; top: 12px; transform: translateX(-50%); z-index: 5;
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 0.85rem; color: var(--ink); pointer-events: none; max-width: calc(100% - 140px); text-align: center;
}
.map-hint[hidden] { display: none; }
@media (max-width: 760px) {
  body:not(.doc) .chrome { height: auto; flex-wrap: wrap; padding: 8px 10px 10px; row-gap: 8px; }
  body:not(.doc) .brand { flex: 1 1 auto; }
  body:not(.doc) .menu-btn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto;
    background: transparent; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); cursor: pointer;
  }
  body:not(.doc) .search { order: 3; flex: 1 1 100%; max-width: none; }
  body:not(.doc) .search input { height: 44px; font-size: 16px; }
  body:not(.doc) .nav {
    display: none; position: absolute; right: 10px; top: 58px; z-index: 50; flex-direction: column; align-items: stretch;
    gap: 0; min-width: 200px; padding: 6px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
  }
  body:not(.doc) .nav.open { display: flex; }
  body:not(.doc) .nav > a, body:not(.doc) .nav-states > summary { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-bottom: 0; }
  body:not(.doc) .nav-states { display: block; }
  body:not(.doc) .nav-states-menu { position: static; max-width: none; max-height: 50vh; box-shadow: none; }
  body:not(.doc) .stage { height: calc(100vh - 230px); }
  .maplibregl-ctrl-group button { width: 44px !important; height: 44px !important; }
  .usa-reset { height: 44px; }
  .panel-close { width: 44px; height: 44px; top: 4px; right: 4px; }
  .map-legend { font-size: 0.72rem; padding: 6px 8px; max-width: calc(100% - 140px); }
  .map-hint { top: auto; bottom: calc(84px + var(--pb-panel-h, 0px)); max-width: calc(100% - 24px); }
}
