/* Pine and Brass: surveyor's instrument sheet (redesign Oct 16, 2026)
   Locked palette: pine #1E3A2F, brass bright #C6A15B, aged brass #8C6D1F,
   cream/parchment #F4EDDE, ink #101D16, survey-grid tint #DCE5D8.
   Type: Fraunces (display, optical sizes), Inter (body/UI),
   IBM Plex Mono (the instrument layer: APNs, bearings, deadlines, figures).
   Corners tight (2-3px), shadows near zero. One line weight: 1.5px. */

:root {
  --pine: #1E3A2F;
  --pine-dark: #122A20;
  --brass: #C6A15B;
  --brass-aged: #8C6D1F;
  --brass-soft: #DCC084;
  --sand: #E9DFC6;
  --sand-line: #D9CCA6;
  --cream: #F4EDDE;
  --paper: #FBF7EB;
  --grid-tint: #DCE5D8;
  --ink: #101D16;
  --muted: #5A665C;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  color: var(--pine);
  line-height: 1.14;
  margin: 0 0 0.5em 0;
}
h1 { font-size: 2.55rem; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 1.55rem; font-weight: 600; margin-top: 1.6em; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em 0; }
a { color: var(--pine); text-decoration-color: var(--brass); text-underline-offset: 3px; }
a:hover { color: var(--brass-aged); }

.mono { font-family: var(--mono); }

/* Kicker: mono instrument label with a brass lead rule */
.kicker {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--brass-aged);
  margin: 0 0 0.9em 0;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--brass);
  vertical-align: middle;
  margin-right: 10px;
  position: relative;
  top: -2px;
}

/* Header: pine band, instrument nav */
header.site {
  background: var(--pine);
  color: var(--cream);
  border-bottom: 3px solid var(--brass);
}
header.site .wrap { padding-top: 22px; padding-bottom: 18px; }
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.brand small {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-top: 3px;
}
nav.main { margin-top: 15px; }
nav.main a {
  font-family: var(--mono);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 22px;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
nav.main a:hover { border-bottom-color: var(--brass); color: #fff; }

/* Layout blocks */
main .wrap { padding-top: 38px; padding-bottom: 30px; }
section { margin-bottom: 34px; }

.card {
  background: var(--paper);
  border: 1px solid var(--sand-line);
  border-radius: 3px;
  padding: 22px 24px;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 0.3em; }
.card p:last-child { margin-bottom: 0; }

.grid { display: block; }
@media (min-width: 760px) {
  .grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
  .grid .card { margin-bottom: 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.price {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-size: 1.4rem;
  color: var(--pine);
  font-weight: 600;
}
.price .price-sub { font-size: 1.05rem; color: var(--brass-aged); }
.spec-line {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: -0.4em 0 1em 0;
}
.small { font-size: 0.9rem; color: var(--muted); }

.state-switch {
  display: flex; align-items: center; gap: 0.55rem; flex-wrap: nowrap;
  font-family: var(--mono); font-size: 0.8rem; color: var(--muted);
  margin: 0.35rem 0 1.2rem;
}
.state-switch label {
  text-transform: uppercase; letter-spacing: 0.12em; white-space: nowrap;
}
.state-switch select {
  font: inherit; color: var(--pine); background: var(--paper);
  border: 1px solid var(--sand-line); border-radius: 6px;
  padding: 0.3rem 0.45rem; min-width: 0; max-width: 52vw;
}
.state-switch a { white-space: nowrap; font-size: 0.8rem; }

.more-states {
  border-top: 1px solid var(--sand-line);
  margin-top: 2.2rem; padding-top: 0.9rem;
}
.more-states h2 {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brass-aged); margin: 0 0 6px;
}
.more-states p { margin: 0; line-height: 1.7; }

.stamp {
  display: inline-block;
  border: 2px solid var(--brass-aged);
  color: var(--pine);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  transform: rotate(-1.2deg);
  background: rgba(198, 161, 91, 0.08);
  margin-bottom: 14px;
}

.btn {
  display: inline-block;
  background: var(--pine);
  color: var(--cream);
  text-decoration: none;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--pine);
  border-radius: 2px;
  margin: 4px 8px 4px 0;
}
.btn:hover { background: var(--pine-dark); color: #fff; }
.btn.alt {
  background: transparent;
  color: var(--pine);
  border: 1px solid var(--brass-aged);
}
.btn.alt:hover { background: rgba(198, 161, 91, 0.14); color: var(--pine); }

/* Ledger lists: ruled rows, hairlines */
ul.ledger { list-style: none; padding: 0; margin: 0 0 1em 0; }
ul.ledger li {
  padding: 10px 2px;
  border-bottom: 1px solid var(--sand-line);
}
ul.ledger li:last-child { border-bottom: none; }

table { border-collapse: collapse; width: 100%; margin: 0 0 1em 0; background: var(--paper); }
th, td { text-align: left; padding: 10px 12px; border: 1px solid var(--sand-line); vertical-align: top; }
th {
  background: var(--sand);
  color: var(--pine);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.example {
  background: var(--paper);
  border: 1px solid var(--sand-line);
  border-left: 5px solid var(--brass);
  border-radius: 3px;
  padding: 20px 24px;
  margin: 0 0 18px 0;
}
.example p:last-child { margin-bottom: 0; }

.fineprint { font-size: 0.88rem; color: var(--muted); }

/* ---- Survey Rule divider: dashed survey line with a bearing label ---- */
.survey-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 40px 0 34px 0;
}
.survey-rule::before,
.survey-rule::after {
  content: "";
  flex: 1 1 auto;
  border-top: 1.5px dashed var(--brass-aged);
  opacity: 0.65;
}
.survey-rule span {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brass-aged);
  white-space: nowrap;
}

/* ---- Chips: small caps status labels (LandWatch pattern) ---- */
.chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid var(--brass-aged);
  color: var(--brass-aged);
  background: transparent;
  white-space: nowrap;
}
.chip.pine { background: var(--pine); border-color: var(--pine); color: var(--cream); }
.chip.line { border-color: var(--sand-line); color: var(--muted); }

/* ---- Parcel Card: fixed-position data triplet ---- */
.parcel-card {
  background: var(--paper);
  border: 1px solid var(--sand-line);
  border-top: 3px solid var(--brass);
  border-radius: 3px;
  padding: 20px 22px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 760px) { .grid .parcel-card { margin-bottom: 0; } }
.parcel-card .parcel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.parcel-card .plat-thumb { flex: 0 0 auto; }
.parcel-card h3 { margin-bottom: 0.35em; }
.parcel-card .parcel-desc { flex: 1 1 auto; }
.triplet {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  border-top: 1px solid var(--sand-line);
  padding-top: 12px;
  margin-top: 4px;
}
.triplet .t-fig {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--pine);
  text-transform: uppercase;
}
.triplet .t-price {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--pine);
}
.triplet .t-status { margin-left: auto; }

/* ---- Stat band: real numbers, set huge (Acres pattern) ---- */
.stat-band {
  background: var(--pine);
  border-radius: 3px;
  padding: 26px 28px 20px 28px;
  margin-bottom: 18px;
}
.stat-band .stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 28px;
}
@media (min-width: 760px) {
  .stat-band .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat-band .stat-num {
  font-family: "Fraunces", Georgia, serif;
  font-optical-sizing: auto;
  font-size: 2.7rem;
  font-weight: 600;
  line-height: 1;
  color: var(--cream);
  display: block;
}
.stat-band .stat-num .plus { color: var(--brass); }
.stat-band .stat-lab {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-soft);
  display: block;
  margin-top: 8px;
}

/* ---- County Ledger table ---- */
.ledger-table { background: var(--paper); border: 1px solid var(--sand-line); }
.ledger-table th {
  background: var(--grid-tint);
  border: none;
  border-bottom: 2.5px solid var(--brass-aged);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--pine);
}
.ledger-table td {
  border: none;
  border-bottom: 1px solid var(--sand-line);
  /* Long unbreakable tokens printed in record cells (bare platform domains
     such as dallas.texas.sheriffsaleauctions.com) must wrap inside the cell;
     without this, a 35+ character domain sets the table's minimum width
     past a phone viewport and the page scrolls sideways. 'anywhere' (not
     'break-word') so the break counts toward the cell's min-content size.
     Consumer-behavior audit, Nov 10, 2026. */
  overflow-wrap: anywhere;
}
.ledger-table tr:last-child td { border-bottom: none; }
.ledger-table .c-name { font-weight: 600; color: var(--pine); }
.ledger-table .c-date {
  font-family: var(--mono);
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ledger-table .c-date .iso { color: var(--muted); font-size: 0.76rem; display: block; }
.table-scroll { overflow-x: auto; }

/* ---- Stacked cards: wide tables become per-row cards on narrow screens
   (Oct 21, 2026, page-audit D2/D3/D6). One pattern for every .stack-cards
   table: under the site's 760px breakpoint the header row retires, each
   row becomes a card, and each cell prints its column label from
   data-label (the label text is the column header's own text). Rows are
   records (a county sale), so a card keeps each record whole instead of
   asking the reader to pan a 3-5 column table and hold the row in
   memory. Desktop rendering is untouched. */
@media (max-width: 760px) {
  .stack-cards { display: block; width: 100%; border: none; background: transparent; }
  .stack-cards thead { display: none; }
  .stack-cards tbody { display: block; }
  .stack-cards tr {
    display: block;
    background: var(--paper);
    border: 1px solid var(--sand-line);
    margin: 0 0 12px 0;
    padding: 4px 14px 8px;
  }
  .stack-cards tr[hidden] { display: none; }
  .stack-cards td {
    display: block;
    border: none;
    border-bottom: 1px solid var(--sand-line);
    padding: 8px 0;
  }
  .stack-cards tr td:last-child { border-bottom: none; }
  .stack-cards td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brass-aged);
    margin-bottom: 2px;
  }
  /* The first cell is the card's title line: it carries no label. */
  .stack-cards td:first-child { padding-top: 10px; }
  /* Dates may wrap inside a card; nothing is ever cut mid-glyph. */
  .stack-cards .c-date { white-space: normal; }
}

/* ---- Contour texture (Land id pattern): subject-drawn, low opacity ---- */
.contours {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='560' viewBox='0 0 560 560'%3E%3Cg fill='none' stroke='%231E3A2F' stroke-opacity='0.08' stroke-width='1.5'%3E%3Cpath d='M-20 90 C 110 30, 250 140, 400 80 C 480 50, 540 70, 580 55'/%3E%3Cpath d='M-20 140 C 110 80, 250 190, 400 130 C 480 100, 540 120, 580 105'/%3E%3Cpath d='M-20 330 C 90 390, 230 290, 380 350 C 470 385, 530 350, 580 380'/%3E%3Cpath d='M-20 385 C 90 445, 230 345, 380 405 C 470 440, 530 405, 580 435'/%3E%3Cpath d='M120 560 C 150 440, 90 380, 140 300 C 180 235, 130 170, 175 60'/%3E%3Cpath d='M175 560 C 205 440, 145 380, 195 300 C 235 235, 185 170, 230 60'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ---- The Seal: engraved-style circular badge (footer + about only) ---- */
.seal { color: var(--brass-soft); flex: 0 0 auto; }
.seal.on-cream { color: var(--pine); }
.seal text {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 1.5px;
  fill: currentColor;
}
.foot-brand { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 6px; }
.foot-brand .foot-lines p { margin-bottom: 0.5em; }

/* ---- Hero: plat map on pine + live calculator docked in the left column ---- */
.hero {
  border-bottom: 1px solid var(--sand-line);
  padding: 46px 0 44px 0;
}
.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
  grid-template-areas: "copy" "calc" "map";
}
@media (min-width: 1020px) {
  .hero-inner {
    grid-template-columns: minmax(360px, 5fr) 7fr;
    grid-template-areas: "copy map" "calc map";
  }
}
.hero-copy { grid-area: copy; }
.hero-copy h1 { font-size: 2.9rem; margin-bottom: 0.35em; }
.hero-copy p { max-width: 34em; }
.hero-map { grid-area: map; min-width: 0; }
.hero-map figure { margin: 0; }
.hero-map svg { display: block; width: 100%; height: auto; border-radius: 3px; }
.hero-map figcaption {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 9px;
}

/* Hero calculator: the instrument panel */
.calc {
  grid-area: calc;
  background: var(--paper);
  border: 1px solid var(--sand-line);
  border-top: 3px solid var(--brass);
  border-radius: 3px;
  padding: 18px 20px 16px 20px;
  max-width: 560px;
}
.calc .calc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--sand-line);
  padding-bottom: 9px;
  margin-bottom: 13px;
}
.calc .calc-title {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pine);
}
.calc .calc-unit {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--brass-aged);
  text-transform: uppercase;
  white-space: nowrap;
}
.calc label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pine);
  margin: 0 0 4px 0;
}
.calc input[type="number"], .calc select {
  width: 100%;
  padding: 8px 9px;
  font: inherit;
  font-size: 0.98rem;
  border: 1px solid var(--sand-line);
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
  margin-bottom: 11px;
}
.calc .calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.calc .calc-fields .wide { grid-column: 1 / -1; }
.calc .preset-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: -4px 0 10px 0;
}
.calc .readouts { border-top: 1px solid var(--sand-line); margin-top: 3px; padding-top: 11px; }
.calc .readout {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 3px 0;
}
.calc .readout .r-lab {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc .readout .r-val {
  font-family: var(--mono);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--pine);
  white-space: nowrap;
}
.calc .readout.verdict-row { border-top: 1px solid var(--sand-line); margin-top: 7px; padding-top: 10px; }
.calc .readout.verdict-row .r-lab { color: var(--brass-aged); font-weight: 600; }
.calc .readout.verdict-row .r-val { font-size: 1.45rem; font-weight: 600; }
.calc .calc-verdict { font-size: 0.92rem; margin: 10px 0 6px 0; }
.calc .calc-more { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
/* Desk label: names which desk a hero artifact belongs to (front-door rule) */
.calc .calc-desk {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-aged);
  margin: 0 0 11px 0;
}
.calc .calc-desk::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--brass);
  margin-right: 9px;
}

/* ---- Two-door router: the front door's self-selection layer ---- */
.router { max-width: 1180px; margin: 30px auto 0 auto; padding: 0 20px; }
.router-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .router-grid { grid-template-columns: 1fr 1fr; } }
.door {
  background: var(--paper);
  border: 1px solid var(--sand-line);
  border-top: 3px solid var(--brass);
  border-radius: 3px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}
.door .door-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.door .door-eyebrow {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-aged);
}
.door h3 { font-size: 1.3rem; margin-bottom: 0.35em; }
.door p { flex: 1 1 auto; }
.door .door-links {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid var(--sand-line);
  padding-top: 12px;
  margin: 4px 0 0 0;
}
.door .door-links .sep { color: var(--brass); margin: 0 8px; }

/* Filed figures row (worked examples) */
.filed-figs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  border-top: 1px solid var(--sand-line);
  border-bottom: 1px solid var(--sand-line);
  padding: 12px 0;
  margin: 0 0 14px 0;
}
.filed-figs .f-lab {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}
.filed-figs .f-val {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--pine);
}

/* Footer */
footer.site {
  background: var(--pine-dark);
  color: var(--cream);
  border-top: 3px solid var(--brass);
  margin-top: 40px;
}
footer.site .wrap { padding-top: 26px; padding-bottom: 30px; }
footer.site a { color: var(--brass-soft); }
footer.site p { margin-bottom: 0.5em; }
footer.site .small { color: #B9C2B4; }

/* Kit signup forms: plain HTML forms posting to Kit. */
.kit-form .email-row { display: flex; flex-wrap: wrap; gap: 8px; }
.kit-form input[type="email"] {
  flex: 1 1 240px;
  font-family: inherit;
  font-size: 1rem;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--sand-line);
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
}
.kit-form button { min-height: 44px; cursor: pointer; }

/* Mobile tap targets: taller touch area on small screens. */
@media (max-width: 760px) {
  main a, footer.site a {
    display: inline-block;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .hero-copy h1 { font-size: 2.25rem; }
  .calc .calc-fields { grid-template-columns: 1fr 1fr; }
  .triplet .t-status { margin-left: 0; }
}

/* Pine design pass, Nov 9 2026: homepage finder, state grid,
   county alert popup, Pine Parcel Alerts steering module. */
.finder { background: var(--pine); color: var(--cream); border-bottom: 3px solid var(--brass); }
.finder-inner { max-width: 960px; margin: 0 auto; padding: 42px 20px 36px; }
.finder .kicker { color: var(--brass-soft); }
.finder-head { color: var(--cream); font-size: 2.35rem; margin-bottom: 0.3em; }
.finder-sub { max-width: 40em; color: #D8DECF; }
.finder-form { position: relative; margin-top: 22px; }
.finder-label {
  display: block; font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-soft); margin-bottom: 8px;
}
.finder-box { display: flex; flex-wrap: wrap; gap: 8px; }
.finder-box input {
  flex: 1 1 320px; font-family: inherit; font-size: 1.05rem; min-height: 52px;
  padding: 12px 14px; border: 1px solid var(--brass); border-radius: 2px;
  background: #fff; color: var(--ink);
}
.finder-btn { min-height: 52px; background: var(--brass); border-color: var(--brass); color: var(--pine-dark); }
.finder-btn:hover { background: var(--brass-soft); color: var(--pine-dark); }
.finder-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40;
  list-style: none; margin: 0; padding: 6px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--sand-line); border-radius: 3px;
  box-shadow: 0 10px 28px rgba(16, 29, 22, 0.18);
}
.finder-results li a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 10px; border-radius: 2px; color: var(--ink); text-decoration: none;
}
.finder-results li.active a, .finder-results li a:hover { background: rgba(198, 161, 91, 0.16); }
.fh-name { font-weight: 600; }
.fh-ctx {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.finder-none { padding: 10px; color: var(--muted); }
.finder-note {
  margin: 24px 0 10px; font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-soft);
}
.state-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .state-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 920px) { .state-grid { grid-template-columns: repeat(4, 1fr); } }
.state-grid a {
  display: block; border: 1px solid rgba(198, 161, 91, 0.55); border-radius: 2px;
  padding: 10px 12px; color: var(--cream); text-decoration: none;
}
.state-grid a:hover { background: rgba(198, 161, 91, 0.14); color: #fff; }
.sg-name { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.02rem; font-weight: 600; }
.sg-count {
  display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brass-soft); margin-top: 2px;
}

/* County alert popup */
body.pb-alert-open { overflow: hidden; }
.pb-alert-backdrop { position: fixed; inset: 0; background: rgba(16, 29, 22, 0.58); z-index: 90; }
.pb-alert-panel {
  position: fixed; z-index: 91; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(480px, calc(100vw - 28px)); max-height: calc(100vh - 40px); overflow: auto;
  background: var(--paper); border: 1px solid var(--sand-line); border-top: 3px solid var(--brass);
  border-radius: 3px; padding: 26px 26px 20px;
}
.pb-alert-panel h2 { margin-top: 0; font-size: 1.5rem; }
.pb-alert-x {
  position: absolute; top: 4px; right: 6px; width: 40px; height: 40px;
  background: transparent; border: none; color: var(--muted);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.pb-alert-x:hover { color: var(--pine); }
.pb-alert-fine { font-size: 0.86rem; color: var(--muted); margin-bottom: 0; }
.pb-alert-sink { display: none; width: 0; height: 0; border: 0; }
@media (max-width: 640px) {
  .pb-alert-panel {
    top: auto; bottom: 0; left: 0; transform: none; width: 100%;
    border-radius: 3px 3px 0 0; max-height: 86vh;
  }
}

/* Pine Parcel Alerts steering module */
.ppa-module {
  background: var(--pine); color: var(--cream);
  border-top: 3px solid var(--brass); border-radius: 3px;
  padding: 24px 26px; margin-bottom: 18px;
}
.ppa-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.ppa-module .kicker { color: var(--brass-soft); margin-bottom: 0.5em; }
.ppa-ctx {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brass-soft); margin: 0 0 0.5em 0;
}
.ppa-head { color: var(--cream); margin-top: 0; }
.ppa-copy { color: #D8DECF; max-width: 44em; }
.ppa-actions { margin-bottom: 0; }
.ppa-btn { background: var(--brass); border-color: var(--brass); color: var(--pine-dark); margin: 0; }
.ppa-btn:hover { background: var(--brass-soft); color: var(--pine-dark); }

/* Wave 20, Nov 9 2026: state hub county search (state-finder.js).
   Reuses the design pass finder classes; hub pages sit on the light
   background, so the label color and spacing adapt here. */
.state-finder { margin: 4px 0 18px; max-width: 640px; }
.state-finder .finder-label { color: var(--brass); }

/* Pine design pass 2, Nov 9 2026: homepage tax sale section,
   state hub county search bars. */
.taxe-band {
  background: var(--pine); color: var(--cream);
  border-top: 3px solid var(--brass); border-bottom: 3px solid var(--brass);
}
.taxe-inner { max-width: 960px; margin: 0 auto; padding: 40px 20px 38px; }
.taxe-band .kicker { color: var(--brass-soft); }
.taxe-head { color: var(--cream); font-size: 2.1rem; margin-bottom: 0.3em; }
.taxe-copy { max-width: 44em; color: #D8DECF; }
.taxe-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 22px 0 0; }
.taxe-btn { background: var(--brass); border-color: var(--brass); color: var(--pine-dark); margin: 0; }
.taxe-btn:hover { background: var(--brass-soft); color: var(--pine-dark); }
.taxe-note {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-soft);
}

/* State hub county search bar (sits at the top of the county listing,
   on the paper ground, reusing the finder form and results styling). */
.county-search {
  position: relative; margin: 16px 0 22px; padding: 16px 18px 18px;
  background: var(--paper); border: 1px solid var(--sand-line);
  border-top: 3px solid var(--brass); border-radius: 3px;
}
.county-search .cs-label { color: var(--pine); margin-bottom: 8px; }
.county-search .finder-box input { border-color: var(--sand-line); }
.county-search .cs-btn {
  min-height: 52px; background: var(--brass); border-color: var(--brass);
  color: var(--pine-dark); margin: 0;
}
.county-search .cs-btn:hover { background: var(--brass-soft); color: var(--pine-dark); }

/* Phase A (Nov 10, 2026): nav CTA button + footer site tree */
nav.main a.nav-cta { border: 1px solid var(--brass); padding: 6px 12px 7px; color: #fff; }
nav.main a.nav-cta:hover { background: rgba(198, 161, 91, 0.18); border-bottom-color: var(--brass); }
.foot-tree { display: grid; grid-template-columns: 1fr; gap: 4px 36px; margin: 16px 0 12px; border-top: 1px solid rgba(198, 161, 91, 0.35); padding-top: 16px; }
@media (min-width: 760px) { .foot-tree { grid-template-columns: 2fr 1fr; } }
.foot-tree .ft-head { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 12px 0 6px; }
.foot-tree .ft-head:first-child { margin-top: 0; }
.foot-tree .ft-list { list-style: none; padding: 0; margin: 0 0 4px; columns: 2; column-gap: 28px; }
@media (min-width: 760px) { .foot-tree .ft-states { columns: 3; } }
.foot-tree .ft-list li { margin-bottom: 5px; font-size: 0.88rem; break-inside: avoid; }
.foot-tree .ft-single { columns: 1; }
