/* Heritage Open Access — shared design system */
:root {
  --ink: #1f2d27;
  --ink-soft: #3c4a44;
  --paper: #f7f3ea;
  --paper-2: #f1ebdd;
  --card: #fffdf9;
  --green: #1d5c43;
  --green-dk: #143f30;
  --green-soft: #e4efe8;
  --gold: #73540f;
  --gold-soft: #f3ead6;
  --muted: #56615b;
  --line: #e5dfd0;
  --shadow: 0 1px 3px rgba(31, 45, 39, .05), 0 8px 24px rgba(31, 45, 39, .04);
  --maxw: 1140px;
  --navh: 66px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.serif { font-family: "Fraunces", Georgia, "Times New Roman", serif; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
a { color: var(--green); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: "Fraunces", Georgia, serif; font-weight: 500; line-height: 1.18; color: var(--ink); }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 234, .93);
  backdrop-filter: saturate(145%) blur(12px); border-bottom: 1px solid rgba(229, 223, 208, .9);
  box-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.nav .wrap { display: flex; align-items: center; gap: 20px; height: var(--navh); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 8px; flex: none;
  background: linear-gradient(150deg, var(--green) 0%, var(--green-dk) 100%);
  display: grid; place-items: center; color: #f0d9a0; font-family: "Fraunces", serif; font-size: 19px; font-weight: 600;
}
.brand > span { min-width: 0; }
.brand b { display: block; font-family: "Fraunces", serif; font-weight: 600; font-size: 18px; letter-spacing: .2px; white-space: nowrap; }
.brand span span { display: block; font-size: 10.5px; letter-spacing: 1.45px; text-transform: uppercase; color: var(--muted); margin-top: -2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-primary, .nav-secondary { display: flex; align-items: center; gap: 18px; }
.nav-secondary { gap: 12px; }
.nav-secondary::before { content: ""; width: 1px; height: 20px; background: var(--line); margin-right: 2px; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 14.5px; font-weight: 500; padding: 7px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); border-bottom-color: var(--gold); }
.nav-links .nav-cta {
  border: 1px solid rgba(29, 92, 67, .28); border-radius: 9px; padding: 7px 12px;
  color: #fff; background: var(--green); box-shadow: 0 1px 2px rgba(31,45,39,.08);
}
.nav-links .nav-cta:hover { color: #fff; background: var(--green-dk); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 9px; background: #fffdf9; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); }
@media (max-width: 760px) {
  :root { --navh: 60px; }
  .nav .wrap { gap: 12px; padding-left: 18px; padding-right: 18px; }
  .brand { gap: 9px; }
  .brand .mark { width: 32px; height: 32px; border-radius: 8px; font-size: 18px; }
  .brand b { font-size: 15.5px; letter-spacing: 0; }
  .brand span span { font-size: 9px; letter-spacing: 1px; max-width: 220px; }
  .nav-links { display: none; position: absolute; top: var(--navh); left: 0; right: 0; flex-direction: column;
    align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px 18px 16px; gap: 8px; box-shadow: 0 14px 28px rgba(31,45,39,.08); }
  .nav-links.open { display: flex; }
  .nav-primary, .nav-secondary { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-secondary { border-top: 1px solid var(--line); padding-top: 8px; }
  .nav-secondary::before { display: none; }
  .nav-links a { padding: 10px 12px; font-size: 16px; border-bottom: 0; border-radius: 8px; }
  .nav-links a.active { background: var(--green-soft); }
  .nav-links .nav-cta { text-align: center; margin-top: 4px; padding: 11px 14px; }
  .nav-toggle { display: flex; }
}

/* ---------- feedback tab ---------- */
.feedback-widget { position: relative; z-index: 80; }
.feedback-tab {
  position: fixed; right: 0; top: 48%; transform: translateY(-50%); z-index: 80;
  display: inline-flex; align-items: center; justify-content: center; min-height: 92px;
  padding: 12px 9px; border: 1px solid rgba(20,63,48,.28); border-right: 0;
  border-radius: 8px 0 0 8px; background: var(--green-dk); color: #fff; box-shadow: 0 8px 22px rgba(31,45,39,.16);
  font-size: 12px; font-weight: 800; letter-spacing: .08em; line-height: 1; text-decoration: none; text-transform: uppercase;
  writing-mode: vertical-rl; text-orientation: mixed; cursor: pointer; font-family: inherit;
}
.feedback-tab:hover { color: #fff; background: var(--green); border-color: rgba(20,63,48,.42); }
.feedback-backdrop { position: fixed; inset: 0; z-index: 79; background: rgba(31,45,39,.18); backdrop-filter: blur(1px); }
.feedback-panel {
  position: fixed; right: 18px; top: calc(var(--navh) + 18px); z-index: 81; width: min(380px, calc(100vw - 36px));
  padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--card);
  color: var(--ink); box-shadow: 0 18px 48px rgba(31,45,39,.18);
}
.feedback-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 12px 12px 0 0; background: linear-gradient(90deg, var(--green-dk), var(--green), var(--gold)); }
.feedback-close {
  position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 1px solid var(--line);
  border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 22px; line-height: 1; font-family: inherit;
}
.feedback-close:hover { background: var(--green-soft); color: var(--green-dk); }
.feedback-kicker { margin: 0 42px 8px 0; color: var(--green); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
.feedback-panel h2 { margin: 0 42px 16px 0; color: var(--ink); font-size: 28px; letter-spacing: 0; }
.feedback-form { display: grid; gap: 13px; }
.feedback-form label { display: grid; gap: 6px; }
.feedback-label { color: var(--green-dk); font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.feedback-label em { color: var(--muted); font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; }
.feedback-form input, .feedback-form select, .feedback-form textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 9px; background: #fff;
  color: var(--ink); font-family: inherit; font-size: 15px; letter-spacing: 0; text-transform: none;
}
.feedback-form input, .feedback-form select { min-height: 44px; padding: 10px 12px; }
.feedback-form textarea { min-height: 128px; resize: vertical; padding: 12px; line-height: 1.45; }
.feedback-form input:focus, .feedback-form select:focus, .feedback-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.feedback-submit {
  min-height: 46px; border: 1.5px solid var(--green); border-radius: 10px; background: var(--green);
  color: #fff; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: .02em;
}
.feedback-submit:hover { background: var(--green-dk); border-color: var(--green-dk); }
.feedback-note { margin: -2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
@media (max-width: 720px) {
  .feedback-tab {
    top: auto; right: 14px; bottom: 14px; transform: none; min-height: 44px;
    padding: 11px 14px; border: 1px solid rgba(20,63,48,.28); border-radius: 999px;
    box-shadow: 0 8px 22px rgba(31,45,39,.18); writing-mode: horizontal-tb;
  }
  .feedback-panel { left: 14px; right: 14px; top: auto; bottom: 70px; width: auto; max-height: calc(100vh - 96px); overflow: auto; padding: 22px 20px; }
  .feedback-panel h2 { font-size: 25px; }
  .feedback-backdrop { background: rgba(31,45,39,.28); }
}
@supports (bottom: max(0px)) {
  @media (max-width: 720px) {
    .feedback-tab { bottom: max(14px, env(safe-area-inset-bottom)); }
    .feedback-panel { bottom: max(70px, calc(env(safe-area-inset-bottom) + 58px)); }
  }
}

/* ---------- hero ---------- */
.hero { background: linear-gradient(165deg, var(--green-dk) 0%, var(--green) 62%, #246f53 100%); color: #f3eede; padding: 64px 0 52px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 380px at 82% -10%, rgba(240, 217, 160, .14), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow { margin: 0 0 12px; color: #d8c089; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.hero h1 { color: #fff; font-size: clamp(32px, 5.2vw, 52px); margin: 0 0 16px; letter-spacing: .2px; }
.hero h1 .amp { color: #e3c684; font-style: italic; }
.hero .lede { max-width: 720px; font-size: 18.5px; color: #e9e3d3; margin: 0; }
.hero .lede strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero-btn { border: 1.5px solid rgba(243, 238, 222, .42); border-radius: 10px; color: #f7f3ea; text-decoration: none; padding: 10px 15px; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.05); }
.hero-btn.primary { background: #f7f3ea; color: var(--green-dk); border-color: #f7f3ea; }
.hero-btn:hover { filter: brightness(1.04); }
.stats { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.stat b { display: block; font-family: "Fraunces", serif; font-size: 30px; font-weight: 500; color: #fff; }
.stat span { font-size: 12px; text-transform: uppercase; letter-spacing: 1.3px; color: #c8dccf; }

/* ---------- generic page header ---------- */
.pagehead { background: linear-gradient(165deg, var(--green-dk), var(--green)); color: #f3eede; padding: 52px 0 44px; }
.pagehead .kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: #d8c089; margin: 0 0 10px; }
.pagehead h1 { color: #fff; font-size: clamp(28px, 4.4vw, 44px); margin: 0 0 12px; }
.pagehead p { color: #e7e1d1; max-width: 680px; font-size: 17.5px; margin: 0; }

/* ---------- controls ---------- */
.controls { background: var(--card); border-bottom: 1px solid var(--line); padding: 16px 0; position: sticky; top: var(--navh); z-index: 30; box-shadow: 0 4px 14px rgba(31,45,39,.04); scroll-margin-top: calc(var(--navh) + 16px); }
.controls .wrap { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
#q { flex: 1 1 280px; min-width: 0; padding: 12px 16px; font-size: 16px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); font-family: inherit; }
#q:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.controls select { max-width: 100%; padding: 11px 12px; font-size: 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); font-family: inherit; cursor: pointer; }
.count-note { font-size: 13.5px; color: var(--muted); margin-left: auto; white-space: nowrap; }
.clearbtn { border: 1.5px solid #cdbf9c; background: var(--gold-soft); color: #7a6a3e; border-radius: 11px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.viewtoggle { display: flex; border: 1.5px solid var(--line); border-radius: 11px; overflow: hidden; }
.viewtoggle button { border: none; background: #fff; color: var(--ink); font-size: 14px; padding: 11px 16px; cursor: pointer; font-weight: 600; font-family: inherit; }
.viewtoggle button.active { background: var(--green); color: #fff; }
@media (max-width: 560px) {
  .controls .wrap { align-items: stretch; }
  #q, .controls select, .clearbtn { flex: 1 1 100%; width: 100%; }
  .viewtoggle { width: 100%; }
  .viewtoggle button { flex: 1; min-height: 44px; }
  .count-note { width: 100%; margin-left: 0; }
}

/* ---------- map ---------- */
#map { height: 580px; border-radius: 16px; border: 1px solid var(--line); margin: 26px 0; box-shadow: var(--shadow); }
#map-note { font-size: 13px; color: var(--muted); margin: -14px 0 22px; }
.popup h4 { font-size: 15.5px; margin: 0 0 4px; }
.popup p { margin: 0 0 6px; font-size: 12.5px; color: var(--ink-soft); }

/* ---------- entry cards ---------- */
main { padding: 30px 0 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 6px rgba(31,45,39,.07), 0 16px 36px rgba(31,45,39,.08); }
.card .photo { display: block; position: relative; aspect-ratio: 16 / 10; background-color: var(--paper-2); background-image: linear-gradient(135deg, var(--green-soft), var(--paper-2)); background-position: center; background-size: cover; background-repeat: no-repeat; border-bottom: 1px solid var(--line); }
.card .photo .cap { display: block; position: absolute; bottom: 0; left: 0; right: 0; font-size: 10.5px; line-height: 1.3; color: #fff; padding: 16px 10px 7px; background: linear-gradient(transparent, rgba(20,30,25,.72)); }
.card .photo .cap.rep { background: linear-gradient(transparent, rgba(120,90,30,.82)); }
.card .body { padding: 18px 20px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 11px; text-transform: uppercase; letter-spacing: .7px; padding: 3px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-weight: 600; }
.badge.land { background: var(--gold-soft); color: var(--gold); }
.badge.loc { background: #eef0ee; color: var(--muted); }
.card h3 { font-size: 19px; margin: 0; }
.heldat { font-size: 13px; color: var(--gold); font-weight: 600; }
.heldat .houselink, .houselink { color: var(--green); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.access { font-size: 14px; color: var(--ink-soft); white-space: pre-line; }
.access.clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.morelink { font-size: 13px; color: var(--green); cursor: pointer; text-decoration: underline; background: none; border: none; padding: 0; text-align: left; }
.rights { background: var(--green-soft); border: 1px solid #cfe3d6; border-radius: 11px; padding: 11px 13px; font-size: 13px; color: #214c3a; }
.rights b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--green); margin-bottom: 5px; }
.rights ul { margin: 0; padding-left: 17px; }
.rights li { margin: 2px 0; }
.access-notes-mini { border: 1px solid #eadfbe; background: #fff8e8; border-radius: 11px; padding: 10px 12px; font-size: 12.5px; color: #5c5133; }
.access-notes-mini b { display: block; text-transform: uppercase; letter-spacing: .8px; font-size: 10.5px; color: var(--gold); margin-bottom: 5px; }
.access-notes-mini span { display: inline-block; border-radius: 999px; background: #f3ead6; color: #7a6427; padding: 3px 8px; margin: 0 5px 5px 0; font-weight: 700; }
.access-notes-mini p { margin: 2px 0 4px; }
.access-notes-mini a { color: var(--green); font-weight: 700; text-decoration: none; }
.access-notes-mini a:hover { text-decoration: underline; text-underline-offset: 2px; }
.health-mini { border: 1px solid #d9e7dc; background: #f4faf6; border-radius: 11px; padding: 10px 12px; font-size: 12.5px; color: #284438; display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; }
.health-mini span { grid-column: 1 / -1; text-transform: uppercase; letter-spacing: .8px; font-size: 10.5px; color: var(--green); font-weight: 800; }
.health-mini b { font-size: 14px; }
.health-mini em { font-style: normal; color: var(--muted); font-weight: 700; }
.health-mini p { grid-column: 1 / -1; margin: 3px 0 0; color: var(--ink-soft); line-height: 1.45; }
.health-mini.health-weak, .health-mini.health-verify, .health-mini.health-no_contact { border-color: #eadfbe; background: #fff8e8; }
.health-mini.health-public_land, .health-mini.health-easy { border-color: #cfe3d6; background: var(--green-soft); }
.contact { font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 11px; margin-top: auto; line-height: 1.55; }
.contact b { color: var(--ink); font-weight: 600; }
.contact .agentlink { color: var(--green); font-size: 12.5px; cursor: pointer; }
.contact .nocontact a { color: var(--green); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; align-items: center; }
.btn { font-size: 13.5px; padding: 8px 14px; border-radius: 10px; text-decoration: none; border: 1.5px solid var(--green); color: var(--green); background: #fff; font-weight: 600; cursor: pointer; font-family: inherit; }
.btn.primary { background: var(--green); color: #fff; }
.btn.ghost { border-color: var(--line); color: var(--muted); }
.btn.ghost.copied { border-color: var(--green); color: var(--green); }
.btn:hover { filter: brightness(1.06); }
.src { font-size: 12px; }
.src a { color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 70px 0; font-size: 17px; }
.load-more { display: block; min-height: 46px; margin: 24px auto 42px; padding: 11px 18px; border: 1.5px solid var(--green); border-radius: 10px; background: #fff; color: var(--green); font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; }
.load-more:hover { background: var(--green-soft); }
.load-more[hidden] { display: none; }

/* ---------- prose (content pages) ---------- */
.prose { padding: 48px 0 60px; }
.prose .narrow > *:first-child { margin-top: 0; }
.prose h2 { font-size: 27px; margin: 38px 0 12px; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose p, .prose li { font-size: 17.5px; color: var(--ink-soft); line-height: 1.72; }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-family: "Fraunces", serif; font-size: 21px; font-style: italic; color: var(--ink); line-height: 1.5; }
.prose .dek { font-size: 20px; color: var(--ink); font-family: "Fraunces", serif; font-style: italic; margin-bottom: 26px; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.source-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 22px 0 34px; }
.source-card { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; padding: 16px; box-shadow: var(--shadow); }
.prose .source-card, .prose .source-card * { text-decoration: none; }
.source-card span { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; font-weight: 800; margin-bottom: 8px; }
.source-card strong { display: block; color: var(--ink); font-family: "Fraunces", serif; font-size: 19px; line-height: 1.18; margin-bottom: 7px; }
.source-card em { display: block; color: var(--muted); font-size: 13.5px; font-style: normal; line-height: 1.5; }
.source-card:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(31,45,39,.07); }

/* ---------- Irving Scott ad ---------- */
.promo { background: linear-gradient(135deg, #120722 0%, #1a0a2e 62%, #2d1b4e 100%); color: #f5f1eb; border: 1px solid rgba(212,185,104,.26); border-radius: 2px; padding: 34px 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 276px); gap: 32px; align-items: center; box-shadow: 0 18px 42px rgba(26,10,46,.18); position: relative; overflow: hidden; }
.promo::before { content: ""; position: absolute; top: 24px; bottom: 24px; right: 335px; width: 1px; background: linear-gradient(transparent, rgba(212,185,104,.32), transparent); }
.promo.full { margin: 8px 0; }
.promo .ptext, .promo .pcta { position: relative; z-index: 1; }
.promo .sponsor-brand { margin: 0 0 10px; color: #f5f1eb; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 600; }
.promo .pk { text-transform: uppercase; letter-spacing: .22em; font-size: 10.5px; color: rgba(181,175,165,.8); margin: 0 0 12px; font-weight: 600; }
.promo h3 { color: #f5f1eb; font-family: "Fraunces", serif; font-weight: 500; font-size: clamp(27px, 3.2vw, 40px); line-height: 1.08; margin: 0 0 12px; max-width: 760px; letter-spacing: 0; }
.promo p { margin: 0; color: rgba(245,241,235,.76); font-size: 15.5px; line-height: 1.72; max-width: 760px; }
.promo .pproof { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(245,241,235,.12); }
.promo .pproof li { color: #d4b968; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.promo .pcta { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.promo .pbtn { background: linear-gradient(90deg, #856929 0%, #d4b968 50%, #856929 100%); color: #1a0a2e; text-decoration: none; font-weight: 800; padding: 13px 22px; border-radius: 0; text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid rgba(212,185,104,.45); box-shadow: 0 0 0 rgba(184,147,58,0); }
.promo .pbtn.alt { background: transparent; color: #f5f1eb; border: 0; border-bottom: 1px solid #d4b968; padding-left: 0; padding-right: 0; font-weight: 700; box-shadow: none; }
.promo .pbtn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.promo small { color: rgba(181,175,165,.72); font-size: 11px; text-align: center; letter-spacing: .04em; }
.promo-card { grid-column: 1 / -1; }
@media (max-width: 860px) { .promo { grid-template-columns: 1fr; } .promo::before { display: none; } }
@media (max-width: 560px) { .promo { padding: 28px 24px; } }

/* card-sized promo that sits inside the results grid */
.promo-inline { background: linear-gradient(150deg, #120722, #1a0a2e 65%, #2d1b4e); color: #f5f1eb; border: 1px solid rgba(212,185,104,.26); border-radius: 2px; padding: 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; box-shadow: var(--shadow); }
.promo-inline .sponsor-brand { text-transform: uppercase; letter-spacing: .18em; font-size: 11px; color: #f5f1eb; margin: 0 0 2px; font-weight: 700; }
.promo-inline .pk { text-transform: uppercase; letter-spacing: .18em; font-size: 10px; color: rgba(181,175,165,.82); margin: 0; }
.promo-inline h3 { color: #f5f1eb; font-family: "Fraunces", serif; font-size: 25px; line-height: 1.08; margin: 3px 0 0; font-weight: 500; }
.promo-inline p { margin: 0; color: rgba(245,241,235,.76); font-size: 14px; line-height: 1.6; }
.promo-inline .microproof { color: #d4b968; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.promo-inline a.pbtn { background: linear-gradient(90deg, #856929 0%, #d4b968 50%, #856929 100%); color: #1a0a2e; text-decoration: none; font-weight: 800; padding: 11px 18px; border-radius: 0; text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; align-self: flex-start; }

/* ---------- sections / cards on content pages ---------- */
.section { padding: 54px 0; }
.section.alt { background: var(--paper-2); }
.section h2.center { text-align: center; font-size: 30px; margin: 0 0 8px; }
.section .sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 36px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); }
.tile .ico { width: 44px; height: 44px; border-radius: 11px; background: var(--green-soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.tile h3 { font-size: 20px; margin: 0 0 8px; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.tile a { font-weight: 600; text-decoration: none; }

/* blog list */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(31,45,39,.08); }
.post-card .ph { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--green), var(--green-dk)); }
.post-card .pc { padding: 22px; }
.post-card .meta { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin: 0 0 8px; }
.post-card h3 { font-size: 21px; margin: 0 0 8px; }
.post-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* forms */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; font-family: inherit; font-size: 15.5px; background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }

/* ---------- accessibility ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip:focus { left: 0; }
.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; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px;
}

/* ---------- entry page ---------- */
.crumb { background: var(--paper-2); border-bottom: 1px solid var(--line); font-size: 13.5px; }
.crumb .wrap { padding-top: 12px; padding-bottom: 12px; }
.crumb a { color: var(--green); text-decoration: none; }
.crumb span { color: var(--muted); }
.entry { padding: 30px 0 10px; }
.entry-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.entry-main h1 { font-size: clamp(26px, 3.6vw, 38px); margin: 14px 0 6px; }
.entry-photo { margin: 0 0 4px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.entry-photo img { width: 100%; height: auto; aspect-ratio: 110/62; object-fit: cover; background: var(--paper-2); }
.entry-photo figcaption { font-size: 12px; color: var(--muted); padding: 9px 14px; background: var(--card); }
.entry-main .held { font-size: 15px; color: var(--gold); font-weight: 600; margin: 4px 0 14px; }
.entry-main .held a { color: var(--green); }
.entry-main .lede-d { font-size: 18.5px; color: var(--ink); font-family: "Fraunces", serif; line-height: 1.5; margin: 0 0 20px; }
.entry-main h2 { font-size: 21px; margin: 26px 0 8px; }
.entry-main .acc { white-space: pre-line; font-size: 16px; color: var(--ink-soft); }
.entry-main .rights { margin: 22px 0; font-size: 14.5px; }
.access-notes { margin: 28px 0; }
.access-notes h2 { margin-bottom: 8px; }
.access-note-intro { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.access-note-list { display: grid; gap: 12px; margin: 16px 0 22px; }
.access-note { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.access-note .note-tag { display: inline-block; border-radius: 999px; background: var(--gold-soft); color: var(--gold); padding: 4px 9px; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; font-weight: 800; }
.access-note h3 { font-family: "Inter", sans-serif; font-size: 16px; line-height: 1.35; margin: 9px 0 6px; font-weight: 700; }
.access-note p { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 8px; line-height: 1.6; }
.access-note .note-source { font-size: 12.5px; color: var(--muted); margin-bottom: 0; }
.access-note .note-source a { color: var(--green); }
.report-aggregate { background: var(--green-soft); border: 1px solid #cfe3d6; border-radius: 12px; padding: 12px 14px; margin: 14px 0; }
.report-aggregate b { display: block; color: var(--green); text-transform: uppercase; letter-spacing: .8px; font-size: 11px; margin-bottom: 4px; }
.report-aggregate ul { margin: 0; padding-left: 18px; }
.report-aggregate li { color: #214c3a; font-size: 13.5px; margin: 2px 0; }
.health-card { margin: 22px 0; border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--card); box-shadow: var(--shadow); }
.health-card > div:first-child { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.health-card span { text-transform: uppercase; letter-spacing: .9px; font-size: 11px; color: var(--muted); font-weight: 800; }
.health-card strong { font-size: 20px; color: var(--green); }
.health-card em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--gold); }
.health-card p { margin: 8px 0 0; color: var(--ink-soft); }
.health-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 14px; }
.health-detail b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); margin-bottom: 5px; }
.health-detail ul { margin: 0; padding-left: 18px; }
.health-detail li { font-size: 13.5px; color: var(--ink-soft); margin: 2px 0; }
.health-card a { display: inline-block; margin-top: 12px; color: var(--green); font-weight: 700; text-decoration: none; }
.health-card a:hover { text-decoration: underline; text-underline-offset: 2px; }
.health-card.health-weak, .health-card.health-verify, .health-card.health-no_contact { border-color: #eadfbe; background: #fffaf0; }
.health-card.health-public_land, .health-card.health-easy { border-color: #cfe3d6; background: #f6fbf7; }
.visitor-route { margin: 22px 0; border: 1px solid #cfe3d6; border-radius: 16px; padding: 18px; background: #f7fbf8; box-shadow: var(--shadow); }
.visitor-route span { display: inline-block; border-radius: 999px; background: #e4f0e8; color: var(--green); padding: 4px 9px; font-size: 11px; text-transform: uppercase; letter-spacing: .6px; font-weight: 800; }
.visitor-route h2 { font-family: "Inter", sans-serif; font-size: 18px; margin: 10px 0 8px; }
.visitor-route p { margin: 8px 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.visitor-route ul { margin: 12px 0 0; padding-left: 18px; }
.visitor-route li { margin: 5px 0; font-size: 14px; }
.visitor-route a { color: var(--green); font-weight: 700; }
.visitor-route .vr-note { color: var(--muted); font-size: 12.5px; }
.supp-contacts { margin: 14px 0; border: 1px solid #cfe3d6; border-radius: 12px; background: #fff; padding: 12px 14px; }
.supp-contacts b { display: block; color: var(--green); text-transform: uppercase; letter-spacing: .7px; font-size: 11px; margin-bottom: 5px; }
.supp-contacts ul { margin: 0; padding-left: 18px; }
.supp-contacts li { margin: 5px 0; color: var(--ink-soft); }
.supp-contacts li strong { display: block; color: var(--ink); font-size: 13.5px; }
.supp-contacts li span { display: block; line-height: 1.55; }
.supp-contacts.compact { margin: 12px 0 0; background: #f7fbf8; box-shadow: none; }
.supp-contacts.compact li { font-size: 13px; }
.undertakings { margin: 20px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 4px 16px; }
.undertakings summary { cursor: pointer; font-weight: 600; padding: 12px 0; color: var(--green); }
.undertakings p { font-size: 14px; color: var(--ink-soft); white-space: pre-line; }
.entry-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 18px; margin: 0 0 12px; }
.contact-card .cc-rows { font-size: 14.5px; color: var(--ink-soft); margin: 0 0 14px; line-height: 1.6; }
.contact-card .actions { flex-direction: column; align-items: stretch; }
.contact-card .actions .btn { text-align: center; }
.contact-card .cc-src { font-size: 12.5px; margin: 14px 0 0; }
.contact-card .cc-src a { color: var(--muted); }
.report-link { border-top: 1px dashed var(--line); margin: 14px 0 0; padding-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.report-link a { display: block; color: var(--green); font-weight: 700; text-decoration: none; margin-bottom: 2px; }
.report-link a:hover { text-decoration: underline; text-underline-offset: 2px; }
.minimap { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.minimap iframe { width: 100%; height: 240px; border: 0; display: block; }
.minimap .mm-note { font-size: 12px; color: var(--muted); padding: 8px 14px; margin: 0; }
.map-tools { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.map-tools b { display: block; font-size: 14px; margin: 0 0 2px; }
.map-tools span { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; }
.map-tools p { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.map-tools a { display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--green); font-size: 12.5px; font-weight: 700; text-decoration: none; text-align: center; }
.map-tools a:hover { background: #eef6ef; border-color: #cfe4d4; }
.related { padding: 20px 0 40px; }
.related .wrap, .related { } .related h2 { font-size: 22px; margin: 0 0 16px; }
.related { max-width: var(--maxw); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.rel-card { display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.rel-card:hover { transform: translateY(-2px); }
.rel-ph { display: block; aspect-ratio: 16/10; background: var(--paper-2) center/cover no-repeat; }
.rel-t { display: block; padding: 12px 14px; font-size: 14.5px; font-weight: 500; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--green); }
@media (max-width: 820px) {
  .entry-wrap { grid-template-columns: 1fr; gap: 26px; }
  .entry-side { position: static; }
  .map-tools p { grid-template-columns: 1fr; }
}

/* ---------- region cards / changelog ---------- */
.rel-ph-none { background: linear-gradient(135deg, var(--green-soft), var(--paper-2)); position: relative; }
.rel-ph-none::after { content: "H"; position: absolute; inset: 0; display: grid; place-items: center; font-family: "Fraunces", serif; font-size: 30px; color: #b9cabf; }
a.badge.loc { text-decoration: none; }
a.badge.loc:hover { background: var(--green-soft); color: var(--green); }
.ch-list { list-style: none; padding: 0; }
.ch-list li { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.ch-list.ch-gone li { color: var(--muted); text-decoration: line-through; }
.note-band { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin: 28px 0; box-shadow: var(--shadow); }
.note-band h2 { margin-top: 0; }
.evidence-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.evidence-tags span { border: 1px solid #cfe3d6; background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 700; }
.policy-list strong { color: var(--ink); }
.audit-hero { padding-bottom: 16px; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.dash-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.dash-card span { text-transform: uppercase; letter-spacing: 1px; font-size: 11px; color: var(--muted); font-weight: 800; }
.dash-card b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 38px; color: var(--ink); line-height: 1.1; margin: 8px 0; }
.dash-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.dash-card.good b { color: var(--green); }
.dash-card.warn b { color: var(--gold); }
.audit-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); gap: 28px; align-items: start; }
.note-band.compact { margin-top: 0; }
.status-list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.status-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: var(--card); }
.status-list span { color: var(--ink-soft); font-size: 14.5px; }
.status-list b { color: var(--green); white-space: nowrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); margin: 12px 0 28px; }
.audit-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.audit-table th, .audit-table td { padding: 11px 13px; border-bottom: 1px solid var(--line); text-align: right; font-size: 14px; }
.audit-table th:first-child, .audit-table td:first-child { text-align: left; }
.audit-table thead th { background: var(--paper-2); color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .7px; }
.audit-table tbody tr:last-child th, .audit-table tbody tr:last-child td { border-bottom: 0; }
.audit-table .concerns-cell, .audit-table .route-cell { text-align: left; }
.audit-table .route-cell { min-width: 300px; max-width: 520px; }
.route-cell b { display: block; color: var(--green); margin-bottom: 4px; }
.route-cell span { display: block; color: var(--ink-soft); line-height: 1.45; }
.route-cell small { display: block; margin-top: 6px; line-height: 1.45; }
.route-cell .found-contact { color: var(--ink); background: #f7fbf8; border: 1px solid #cfe3d6; border-radius: 8px; padding: 6px 8px; }
.route-cell small a { color: var(--green); font-weight: 700; margin-right: 8px; }
.narrow-table .audit-table { min-width: 420px; }
.report-form { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
/* ---------- footer ---------- */
.foot { background: var(--green-dk); color: #cdd9d0; padding: 44px 0 30px; margin-top: 40px; }
.foot .cols { display: grid; grid-template-columns: minmax(260px, 1.55fr) minmax(150px, .75fr) minmax(190px, .9fr); gap: 30px 44px; align-items: start; }
.foot h4 { color: #fff; font-size: 14px; margin: 0 0 10px; letter-spacing: .02em; }
.foot .cols a { color: #cdd9d0; text-decoration: none; display: block; padding: 4px 0; font-size: 13.5px; line-height: 1.35; }
.foot .cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot .blurb { font-size: 13.5px; line-height: 1.62; max-width: 420px; margin: 0; color: #b9c9bf; }
.foot-regions { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 20px; }
.foot-regions h4 { color: #fff; font-size: 13px; margin: 0 0 10px; letter-spacing: .02em; }
.region-links { display: flex; flex-wrap: wrap; gap: 8px; }
.foot .region-links a { display: inline-flex; align-items: center; min-height: 32px; border: 1px solid rgba(205,217,208,.18); border-radius: 999px; padding: 6px 10px; background: rgba(255,255,255,.035); color: #dbe6df; text-decoration: none; font-size: 12.5px; line-height: 1; }
.foot .region-links a:hover { background: rgba(255,255,255,.08); border-color: rgba(205,217,208,.34); color: #fff; }
.foot .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; padding-top: 18px; font-size: 12px; line-height: 1.62; color: #9fb0a6; max-width: 980px; }
.foot .legal strong { color: #dbe6df; }
.foot .legal a { display: inline; color: #bfcdc4; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 720px) {
  .foot { padding: 36px 0 28px; margin-top: 32px; }
  .foot .cols { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .foot .cols > div:first-child { grid-column: 1 / -1; }
  .foot .cols a { font-size: 13.5px; padding: 5px 0; }
  .foot .blurb { max-width: none; }
  .foot-regions { margin-top: 24px; padding-top: 18px; }
  .region-links { gap: 7px; }
  .foot .region-links a { min-height: 31px; padding: 6px 9px; font-size: 12px; }
  .foot .legal { margin-top: 22px; padding-top: 17px; font-size: 11.8px; }
}
@media (max-width: 760px) {
  .audit-layout { grid-template-columns: 1fr; }
  .health-card em { margin-left: 0; }
  .status-list li { align-items: flex-start; flex-direction: column; gap: 2px; }
}
